diff --git a/src/alsa.c b/src/alsa.c index 5a1e541..edbf51b 100644 --- a/src/alsa.c +++ b/src/alsa.c @@ -1191,6 +1191,8 @@ static void outstream_thread_run(void *arg) { case SND_PCM_STATE_DISCONNECTED: outstream->error_callback(outstream, SoundIoErrorStreaming); return; + default: + continue; } } } @@ -1260,6 +1262,8 @@ static void instream_thread_run(void *arg) { case SND_PCM_STATE_DISCONNECTED: instream->error_callback(instream, SoundIoErrorStreaming); return; + default: + continue; } } }