mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
pcm_dsnoop: comment fall-through in next "case"
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b7334b1a81
commit
afaffe80d9
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
err = snd_pcm_dsnoop_sync_ptr(pcm);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
|
/* Fall through */
|
||||||
case SNDRV_PCM_STATE_PREPARED:
|
case SNDRV_PCM_STATE_PREPARED:
|
||||||
case SNDRV_PCM_STATE_SUSPENDED:
|
case SNDRV_PCM_STATE_SUSPENDED:
|
||||||
*delayp = snd_pcm_mmap_capture_hw_avail(pcm);
|
*delayp = snd_pcm_mmap_capture_hw_avail(pcm);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue