audio: Add missing fall through comments

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190718193441.12490-1-sw@weilnetz.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Stefan Weil 2019-07-18 21:34:41 +02:00 committed by Gerd Hoffmann
parent 17dc579903
commit e463494145
1 changed files with 2 additions and 0 deletions

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;