Skip to content
Snippets Groups Projects
Commit 1ece990f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

wasapi: fix fallthrough warnings

parent 38552d56
No related branches found
No related tags found
No related merge requests found
......@@ -350,12 +350,14 @@ static void vlc_ToWave(WAVEFORMATEXTENSIBLE *restrict wf,
{
case VLC_CODEC_FL64:
audio->i_format = VLC_CODEC_FL32;
/* fall through */
case VLC_CODEC_FL32:
wf->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
break;
case VLC_CODEC_U8:
audio->i_format = VLC_CODEC_S16N;
/* fall through */
case VLC_CODEC_S16N:
wf->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment