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

Eric Lammerts eric at lammerts.org
Mon Aug 26 22:16:06 CEST 2002


On Sun, 25 Aug 2002, D Richard Felker III wrote:
> 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).

Eric




More information about the MPlayer-dev-eng mailing list