[MPlayer-dev-eng] [PATCH] ao_oss.c: Re-Open device on pause with O_NONBLOCK

Rich Felker dalias at aerifal.cx
Mon Sep 25 22:09:03 CEST 2006


On Mon, Sep 25, 2006 at 09:50:13PM +0300, Uoti Urpala wrote:
> On Mon, 2006-09-25 at 20:42 +0200, Reimar Döffinger wrote:
> > Well, regardless in init O_NONBLOCK is used, so the same code should be
> > used in reset. So okay to apply?
> 
> Look more closely: the code in init sets O_NONBLOCK for open and then
> tries to turn it off afterwards. I see no benefit from turning it off,
> but anyway the patch would not make things consistent.

It really is supposed to block if the buffer is full! This is how
audio-driven synchronization works.

Rich




More information about the MPlayer-dev-eng mailing list