From: Antonio Borneo <borneo.antonio@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case"
Date: Mon, 14 May 2012 23:56:34 +0800 [thread overview]
Message-ID: <1337010994-32504-1-git-send-email-borneo.antonio@gmail.com> (raw)
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
---
src/pcm/pcm_dsnoop.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/pcm/pcm_dsnoop.c b/src/pcm/pcm_dsnoop.c
index 988f1f4..bacb4ae 100644
--- a/src/pcm/pcm_dsnoop.c
+++ b/src/pcm/pcm_dsnoop.c
@@ -223,6 +223,7 @@ static int snd_pcm_dsnoop_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
err = snd_pcm_dsnoop_sync_ptr(pcm);
if (err < 0)
return err;
+ /* Fall through */
case SNDRV_PCM_STATE_PREPARED:
case SNDRV_PCM_STATE_SUSPENDED:
*delayp = snd_pcm_mmap_capture_hw_avail(pcm);
--
1.7.3.4
next reply other threads:[~2012-05-14 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 15:56 Antonio Borneo [this message]
2012-05-14 15:59 ` [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case" Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337010994-32504-1-git-send-email-borneo.antonio@gmail.com \
--to=borneo.antonio@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.