mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-04 10:01:16 +00:00
Fix "implicit-fallthrough" warning
This commit is contained in:
parent
6064f30976
commit
5b125925c8
1 changed files with 2 additions and 1 deletions
|
@ -359,8 +359,9 @@ static int fluid_alsa_handle_write_error (snd_pcm_t *pcm, int errval)
|
||||||
FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");
|
FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");
|
||||||
return FLUID_FAILED;
|
return FLUID_FAILED;
|
||||||
}
|
}
|
||||||
/* fall through, since the stream got resumed, but still has to be prepared */
|
|
||||||
#endif
|
#endif
|
||||||
|
/* fall through ... */
|
||||||
|
/* ... since the stream got resumed, but still has to be prepared */
|
||||||
case -EPIPE:
|
case -EPIPE:
|
||||||
case -EBADFD:
|
case -EBADFD:
|
||||||
if (snd_pcm_prepare(pcm) != 0) {
|
if (snd_pcm_prepare(pcm) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue