Video ok, no sound just for MPlayer (WAS: [MPlayer-users] Re: Oly 3 sec of video)

D Richard Felker III dalias at aerifal.cx
Sun Apr 4 23:43:23 CEST 2004


On Sun, Apr 04, 2004 at 08:17:33PM +0200, Tobias Diedrich wrote:
> D Richard Felker III wrote:
> 
> > Why does anyone need "alsa support" anyway? ALSA provides the standard
> > oss api in addition to its windows-ish library-based api, so you can
> > just use ao_oss.
> 
> Alsa provides additional features like dmix, which don't work with the
> oss emulation.
> For example with oss emulation only one program can use the soundcard at
> a time, with alsa I have configured the default device to use dmix, so
> the output of multiple programs gets mixed automatically.
> It could be considered a bug that mplayer still opens the hw device
> instead of default by default.

I expect "dmix" has incorrect a/v sync due to misreported latency in
the buffers. BTW all modern cards have multi-open support in hardware,
so you don't need this emulation. You just open /dev/dsp multiple
times.

Rich




More information about the MPlayer-users mailing list