Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342620
b: refs/heads/master
c: 3f94fad
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 23, 2012
1 parent 58e4dfb commit 49ae3ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffe4d12b151018e831f0ca2e05fe78a55238c517
refs/heads/master: 3f94fad09538ec988919ec3f371841182df71d04
3 changes: 2 additions & 1 deletion trunk/sound/usb/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static snd_pcm_uframes_t snd_usb_pcm_pointer(struct snd_pcm_substream *substream
return SNDRV_PCM_POS_XRUN;
spin_lock(&subs->lock);
hwptr_done = subs->hwptr_done;
substream->runtime->delay = snd_usb_pcm_delay(subs,
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
substream->runtime->delay = snd_usb_pcm_delay(subs,
substream->runtime->rate);
spin_unlock(&subs->lock);
return hwptr_done / (substream->runtime->frame_bits >> 3);
Expand Down

0 comments on commit 49ae3ac

Please sign in to comment.