aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2000-08-29 16:32:26 +0000
committerCameron Grant <cg@FreeBSD.org>2000-08-29 16:32:26 +0000
commitc07a337569fcac44e7719ab991eab11a160a3e46 (patch)
treef6ea5e9ac6b8a5fc87e5b3647fc6039920143baf /sys/dev/sound
parenta6b1634eb2fe66b140e841df681393291bcae452 (diff)
Notes
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index d461ba37ab25..2e292b7f789e 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -187,7 +187,7 @@ chn_dmaupdate(pcm_channel *c)
hwptr = chn_getptr(c);
delta = (b->bufsize + hwptr - b->hp) % b->bufsize;
- if (delta >= ((b->bufsize * 3) / 4)) {
+ if (delta >= ((b->bufsize * 15) / 16)) {
if (!(c->flags & (CHN_F_CLOSING | CHN_F_ABORTING)))
device_printf(c->parent->dev, "hwptr went backwards %d -> %d\n", b->hp, hwptr);
}