aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/audio.c3
-rw-r--r--audio/esdaudio.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 5fff6de966..398763fd7c 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -585,17 +585,20 @@ static int audio_pcm_info_eq (struct audio_pcm_info *info, struct audsettings *a
switch (as->fmt) {
case AUD_FMT_S8:
sign = 1;
+ /* fall through */
case AUD_FMT_U8:
break;
case AUD_FMT_S16:
sign = 1;
+ /* fall through */
case AUD_FMT_U16:
bits = 16;
break;
case AUD_FMT_S32:
sign = 1;
+ /* fall through */
case AUD_FMT_U32:
bits = 32;
break;
diff --git a/audio/esdaudio.c b/audio/esdaudio.c
index bd6e1cc19b..eea9ccec0b 100644
--- a/audio/esdaudio.c
+++ b/audio/esdaudio.c
@@ -201,7 +201,7 @@ static int qesd_init_out (HWVoiceOut *hw, struct audsettings *as)
case AUD_FMT_S32:
case AUD_FMT_U32:
dolog ("Will use 16 instead of 32 bit samples\n");
-
+ /* fall through */
case AUD_FMT_S16:
case AUD_FMT_U16:
deffmt: