[MPlayer-dev-eng] Re: [patch] release /dev/dsp on pause

Alex Beregszaszi alex at galaktik.hu
Wed Aug 28 18:27:14 CEST 2002


Hi,

> > I don't know if this is acceptable as I've got it right now, but
> > here's a patch to make mplayer free up /dev/dsp when it's paused
> > (w/ao_oss). MPlayer crashes if you unpause and something else has
> > claimed the device, btu I'm not sure there's really any clean way
> > around that. Someone should at least take a look and see if a change
> > like this is reasonable/feasible.
> 
> I have a patch similar to yours, but in my case mplayer doesn't crash
> when I unpause and the device is busy. It simply blocks until /dev/dsp
> is released by the other app. (because the open() in reset() has no
> O_NONBLOCK).
Could you post your patch too?

-- 
Alex Beregszaszi  <alex at naxine.org>



More information about the MPlayer-dev-eng mailing list