Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
3a34c049
Commit
3a34c049
authored
Jan 10, 2025
by
David Reid
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://github.com/mackron/miniaudio
into dev
parents
da76932f
970c3801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
tools/audioconverter/audioconverter.c
tools/audioconverter/audioconverter.c
+4
-6
No files found.
tools/audioconverter/audioconverter.c
View file @
3a34c049
...
@@ -172,8 +172,6 @@ int main(int argc, char** argv)
...
@@ -172,8 +172,6 @@ int main(int argc, char** argv)
int
iarg
;
int
iarg
;
const
char
*
pOutputFilePath
;
const
char
*
pOutputFilePath
;
print_usage
();
/* Print help if requested. */
/* Print help if requested. */
if
(
argc
==
2
)
{
if
(
argc
==
2
)
{
if
(
strcmp
(
argv
[
1
],
"-h"
)
==
0
||
strcmp
(
argv
[
1
],
"--help"
)
==
0
)
{
if
(
strcmp
(
argv
[
1
],
"-h"
)
==
0
||
strcmp
(
argv
[
1
],
"--help"
)
==
0
)
{
...
@@ -236,19 +234,19 @@ int main(int argc, char** argv)
...
@@ -236,19 +234,19 @@ int main(int argc, char** argv)
result
=
ma_decoder_init_file
(
argv
[
1
],
&
decoderConfig
,
&
decoder
);
result
=
ma_decoder_init_file
(
argv
[
1
],
&
decoderConfig
,
&
decoder
);
if
(
result
!=
MA_SUCCESS
)
{
if
(
result
!=
MA_SUCCESS
)
{
printf
(
"Failed to open input file. Check the file exists and the format is supported. Supported input formats:
\n
"
);
printf
(
"Failed to open input file. Check the file exists and the format is supported. Supported input formats:
\n
"
);
#if defined(dr_opus_h)
#if defined(
ma_
dr_opus_h)
printf
(
" Opus
\n
"
);
printf
(
" Opus
\n
"
);
#endif
#endif
#if defined(dr_mp3_h)
#if defined(
ma_
dr_mp3_h)
printf
(
" MP3
\n
"
);
printf
(
" MP3
\n
"
);
#endif
#endif
#if defined(dr_flac_h)
#if defined(
ma_
dr_flac_h)
printf
(
" FLAC
\n
"
);
printf
(
" FLAC
\n
"
);
#endif
#endif
#if defined(STB_VORBIS_INCLUDE_STB_VORBIS_H)
#if defined(STB_VORBIS_INCLUDE_STB_VORBIS_H)
printf
(
" Vorbis
\n
"
);
printf
(
" Vorbis
\n
"
);
#endif
#endif
#if defined(dr_wav_h)
#if defined(
ma_
dr_wav_h)
printf
(
" WAV
\n
"
);
printf
(
" WAV
\n
"
);
#endif
#endif
return
(
int
)
result
;
return
(
int
)
result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment