mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-28 15:02:00 +00:00
Fixed small bug in error handling
This commit is contained in:
parent
00bfe830f3
commit
f5f0f2b434
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ new_fluid_alsa_audio_driver2(fluid_settings_t* settings,
|
||||||
if (err == -EBUSY) {
|
if (err == -EBUSY) {
|
||||||
FLUID_LOG(FLUID_ERR, "The \"%s\" audio device is used by another application", device);
|
FLUID_LOG(FLUID_ERR, "The \"%s\" audio device is used by another application", device);
|
||||||
goto error_recovery;
|
goto error_recovery;
|
||||||
|
} else {
|
||||||
|
FLUID_LOG(FLUID_ERR, "Failed to open the \"%s\" audio device", device);
|
||||||
|
goto error_recovery;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue