提交 e4634941 编写于 作者: S Stefan Weil 提交者: Gerd Hoffmann

audio: Add missing fall through comments

Signed-off-by: NStefan Weil <sw@weilnetz.de>
Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190718193441.12490-1-sw@weilnetz.de
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 17dc5799
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册