From b45d0ec80d4c79f7cc948bb3fb7b679e9bf81c66 Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Thu, 7 Dec 2006 07:48:20 +0000 Subject: [PATCH] Remove comment that is no longer relevant since previous buffering fix. --- sys/dev/sound/pcm/dsp.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 940c3fde57d..d293ee79409 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);