[alsa-devel] [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case"
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);
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;
case SNDRV_PCM_STATE_PREPARED: case SNDRV_PCM_STATE_SUSPENDED: *delayp = snd_pcm_mmap_capture_hw_avail(pcm);/* Fall through */
-- 1.7.3.4
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
Antonio Borneo
-
Takashi Iwai