[alsa-devel] [PATCH alsa-lib] pcm_dsnoop: comment fall-through in next "case"

Takashi Iwai tiwai at suse.de
Mon May 14 17:59:13 CEST 2012


At Mon, 14 May 2012 23:56:34 +0800,
Antonio Borneo wrote:
> 
> Signed-off-by: Antonio Borneo <borneo.antonio at 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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list