audio: Add missing fall through comments

Signed-off-by: Stefan Weil <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
This commit is contained in:
Stefan Weil authored and Gerd Hoffmann committed 2019-08-21 09:12:32 +02:00
1 parent 17dc579903
commit e463494145
1 file changed
+2
+2
View File
@@ -306,6 +306,7 @@ void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as)
case AUDIO_FORMAT_S16:
sign = 1;
/* fall through */
case AUDIO_FORMAT_U16:
bits = 16;
shift = 1;
@@ -313,6 +314,7 @@ void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as)
case AUDIO_FORMAT_S32:
sign = 1;
/* fall through */
case AUDIO_FORMAT_U32:
bits = 32;
shift = 2;