Skip to content

Commit

Permalink
audio: Add missing fall through comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil authored and kraxel committed Aug 21, 2019
1 parent 17dc579 commit e463494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions audio/audio.c
Expand Up @@ -306,13 +306,15 @@ 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;
break;

case AUDIO_FORMAT_S32:
sign = 1;
/* fall through */
case AUDIO_FORMAT_U32:
bits = 32;
shift = 2;
Expand Down

0 comments on commit e463494

Please sign in to comment.