[MPlayer-dev-eng] ALSA issue, r29549 fix seems incomplete

Clemens Ladisch clemens at ladisch.de
Wed Dec 2 08:38:26 CET 2009


Uoti Urpala wrote:
> On Wed, 2009-12-02 at 01:54 +0100, Sylvain Bertrand wrote:
> > alsa-init: got buffersize=216000
> > alsa-init: got period size 6000
> > alsa: 48000 Hz/6 channels/12 bpf/216000 bytes buffer/Signed 16 bit Little Endian
> 
> So for some reason ALSA gives you a ratio of 3 (216000 / 3 = 72000) even
> though MPlayer says it'd prefer a value around 16 (as specified in
> alsa_fragcount),

With dmix, the period size is fixed because all clients have to use the
same value.

> and this takes you a bit over the 64 KiB per-call limit I mentioned
> after all.

Sylvain, as a quick fix, you could decrease the period size or time in
your asound.conf.  The default dmix period size of 1024 frames would
have worked; is there a reason why you changed it?


Best regards,
Clemens



More information about the MPlayer-dev-eng mailing list