mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Update simple_playback example.
This commit is contained in:
@@ -41,6 +41,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
result = ma_decoder_init_file(argv[1], NULL, &decoder);
|
result = ma_decoder_init_file(argv[1], NULL, &decoder);
|
||||||
if (result != MA_SUCCESS) {
|
if (result != MA_SUCCESS) {
|
||||||
|
printf("Could not load file: %s\n", argv[1]);
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user