[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/15] audio: Add missing fall through comments
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 01/15] audio: Add missing fall through comments |
Date: |
Wed, 21 Aug 2019 10:40:59 +0200 |
From: Stefan Weil <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
audio/audio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/audio/audio.c b/audio/audio.c
index c8b88d892d20..a76787b3e872 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;
--
2.18.1
[Qemu-devel] [PULL 04/15] audio: add audiodev property to vnc and wav_capture, Gerd Hoffmann, 2019/08/21
[Qemu-devel] [PULL 15/15] audio: fix memory leak reported by ASAN, Gerd Hoffmann, 2019/08/21