[MPlayer-dev-eng] [PATCH] Keep audio buffer for OSS

D Richard Felker III dalias at aerifal.cx
Tue Aug 31 23:10:37 CEST 2004


On Mon, Aug 02, 2004 at 05:05:36PM +0200, Mikulas Patocka wrote:
> Hi
> 
> audio_pause and audio_resume should keep data in audio buffer. However
> they don't do it for OSS audio driver. This causes problem that if the
> audio buffer is X seconds large, the movie skips X seconds forward on each
> pause/unpause operation.
> 
> This patch fixes it --- it uses OSS trigger function (and falls back to
> old method if the driver doesn't support it), so that it audio data are
> being held in the buffer.

This patch has a major problem!! It makes MPlayer keep the sound
device open while paused, so you can't just pause the movie/music to
let another program play audio. VERY BAD!!

Rich




More information about the MPlayer-dev-eng mailing list