[MPlayer-dev-eng] Re: [Fwd: Re: mplayer alsa9 patch]

Arpi arpi at thot.banki.hu
Sun Jun 23 20:42:26 CEST 2002


Hi,

> > Here is the new patch, did few improvements and mplayer.c is left
> > intact. I hope it works for other people too.
> > 
> > Marius David
> > 
> ok i tested your modifications, it seems to work, but i don't see any needs to set alsa_fragsize
>  to 4096, which kind of improvements did it gave to you?
> i think the problem is MAX_OUTBURST in config.h its set by default to 65536 which seems to be ok
>  for alsa-0.5.x but for alsa-0.9.x it should be set at least to the half. its similar to that wh

why ??????

> at you did by modifiying mplayer.c. i changed configure to set MAX_OUTBURST dynamically dependin
> g on which alsa-version is installed if no alsa is installed it will be set to 16384. 
> maybe someone who is responsible for configure take a look at it.

please explain why is big MAX_OUTBURST problem? it's an internal thing of
mplayer core, does nothing with teh audio drivers directly, just limits its
memory allocation. if you don't want big buffer, just limit it in your
get_space() implementation of your ao driver.

(mplayer uses the min(MAX_OUTBURST,ao->get_space()) value)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list