* [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case"
@ 2012-05-14 15:56 Antonio Borneo
2012-05-14 15:59 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Antonio Borneo @ 2012-05-14 15:56 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case"
2012-05-14 15:56 [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case" Antonio Borneo
@ 2012-05-14 15:59 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2012-05-14 15:59 UTC (permalink / raw)
To: Antonio Borneo; +Cc: alsa-devel
At Mon, 14 May 2012 23:56:34 +0800,
Antonio Borneo wrote:
>
> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Thanks, applied.
(BTW, at the next time, please add maintainers to Cc.)
Takashi
> ---
> 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
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-14 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 15:56 [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case" Antonio Borneo
2012-05-14 15:59 ` Takashi Iwai
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.