]> Git Repo - qemu.git/commitdiff
audio: Add missing fall through comments
authorStefan Weil <[email protected]>
Thu, 18 Jul 2019 19:34:41 +0000 (21:34 +0200)
committerGerd Hoffmann <[email protected]>
Wed, 21 Aug 2019 07:12:32 +0000 (09:12 +0200)
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: 20190718193441[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
audio/audio.c

index c8b88d892d2061ee9f1d6e449b77b065cbfb9176..a76787b3e8729c76b1beaabd47d29045e567b434 100644 (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;
This page took 0.029152 seconds and 4 git commands to generate.