mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
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:
1 parent
17dc579903
commit
e463494145
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user