summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2006-12-07 07:48:20 +0000
committerariff <ariff@FreeBSD.org>2006-12-07 07:48:20 +0000
commit87429f2deaa5e5f8c6a8f6e0518580a5b5f8b50d (patch)
tree08c8692e63afd6866246905136ab0de766f8ee70 /sys/dev/sound
parent4c7c1ef3854a117e5ff9f5174227b2e71cb0b462 (diff)
downloadFreeBSD-src-87429f2deaa5e5f8c6a8f6e0518580a5b5f8b50d.zip
FreeBSD-src-87429f2deaa5e5f8c6a8f6e0518580a5b5f8b50d.tar.gz
Remove comment that is no longer relevant since previous
buffering fix.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/dsp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index 940c3fd..d293ee7 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -363,13 +363,6 @@ dsp_close(struct cdev *i_dev, int flags, int mode, struct thread *td)
CHN_LOCK(wrch);
refs += pcm_chnref(wrch, -1);
- /*
- * XXX: Maybe the right behaviour is to abort on non_block.
- * It seems that mplayer flushes the audio queue by quickly
- * closing and re-opening. In FBSD, there's a long pause
- * while the audio queue flushes that I presume isn't there in
- * linux.
- */
chn_flush(wrch); /* may sleep */
wrch->flags &= ~(CHN_F_RUNNING | CHN_F_MAPPED | CHN_F_DEAD);
chn_reset(wrch, 0);
OpenPOWER on IntegriCloud