diff options
author | Stefan Weil <sw@weilnetz.de> | 2019-07-18 21:34:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-21 09:12:32 +0200 |
commit | e4634941457022b284664bacae9a3320481b1756 (patch) | |
tree | 0fd5c4a5c726d796e6915d30886ccbea50e46ded /audio | |
parent | 17dc57990320edaad52ac9ea808be9719c91cea6 (diff) | |
download | qemu-e4634941457022b284664bacae9a3320481b1756.zip qemu-e4634941457022b284664bacae9a3320481b1756.tar.gz qemu-e4634941457022b284664bacae9a3320481b1756.tar.bz2 |
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>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/audio.c b/audio/audio.c index c8b88d8..a76787b 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -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; |