Remove comment that is no longer relevant since previous
buffering fix.
This commit is contained in:
parent
391b744a77
commit
b45d0ec80d
@ -363,13 +363,6 @@ dsp_close(struct cdev *i_dev, int flags, int mode, struct thread *td)
|
|||||||
|
|
||||||
CHN_LOCK(wrch);
|
CHN_LOCK(wrch);
|
||||||
refs += pcm_chnref(wrch, -1);
|
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 */
|
chn_flush(wrch); /* may sleep */
|
||||||
wrch->flags &= ~(CHN_F_RUNNING | CHN_F_MAPPED | CHN_F_DEAD);
|
wrch->flags &= ~(CHN_F_RUNNING | CHN_F_MAPPED | CHN_F_DEAD);
|
||||||
chn_reset(wrch, 0);
|
chn_reset(wrch, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user