Skip to contentSkip to conversation

pcm_dsnoop: comment fall-through in next "case"

PATCH Applied Antonio Borneo 2 participants 2 messages May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcm_dsnoop: comment fall-through in next "case"

---
 src/pcm/pcm_dsnoop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
src/pcm/pcm_dsnoop.c +1 -0
index 988f1f4..bacb4ae 100644
@@ -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);
Signature · 1 line
1.7.3.4
Applied
#1 lore raw

At Mon, 14 May 2012 23:56:34 +0800,

Quoted 2 lines · Antonio Borneo

Thanks, applied.

(BTW, at the next time, please add maintainers to Cc.)

Takashi

Quoted 24 lines
---
 src/pcm/pcm_dsnoop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
src/pcm/pcm_dsnoop.c +1 -0
index 988f1f4..bacb4ae 100644
@@ -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);
Signature · 6 lines
1.7.3.4

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel