[MPlayer-users] mplayer and alsa9/dmix

Florian Schmidt mista.tapas at gmx.net
Sun Apr 20 15:57:46 CEST 2003


Hi, 

i think i found a fix for mplayer. i posted it to the dev-eng list.
They probably will tell me to make a correct patch :)

Well, here's for you to try it out:

change the line 593 in the file libao2/ao_alsa9.c in the mplayer
source from:

if ((err = snd_pcm_hw_params_set_period_size(alsa_handler,
alsa_hwparams, chunk_size, 0)) < 0)

to:

if ((err = snd_pcm_hw_params_set_period_size_near(alsa_handler,
alsa_hwparams, chunk_size, 0)) < 0)

then from the MPlayer source dir:

make -C libao2 && su c "make install"

Let me know, if it works for you.. Here, it seems to work well..

Florian Schmidt

-- 
mista.tapas at gmx.net
sound clips - http://www.arted.biz/mista.tapas



More information about the MPlayer-users mailing list