Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182634
b: refs/heads/master
c: 7b3a177
h: refs/heads/master
v: v3
  • Loading branch information
Jaroslav Kysela committed Jan 8, 2010
1 parent 5f75c5c commit 8541cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1250932e48d3b698415b1f04775433cf1da688d6
refs/heads/master: 7b3a177b0d4f92b3431b8dca777313a07533a710
2 changes: 1 addition & 1 deletion trunk/sound/core/pcm_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream,
(unsigned long)runtime->hw_ptr_base);
}
/* something must be really wrong */
if (delta >= runtime->buffer_size) {
if (delta >= runtime->buffer_size + runtime->period_size) {
hw_ptr_error(substream,
"Unexpected hw_pointer value %s"
"(stream=%i, pos=%ld, new_hw_ptr=%ld, "
Expand Down

0 comments on commit 8541cd5

Please sign in to comment.