[MPlayer-users] alsa "buffer" problem

ephemeron at softhome.net ephemeron at softhome.net
Mon May 24 17:57:03 CEST 2004


To get a better handle on my alsa output problem (stuttering
audio with -ao alsa) I decided to recompile one of my old CVS
backups of mplayer.  I noticed that with dev-CVS-040510 and -ao
alsa1x I get "65536 bytes buffer", while with "dev-CVS-040522"
and -ao alsa I get only "4064 bytes buffer" (see below).

I suspect the small "buffer" in the latest CVS is the culprit.
Does anybody know what changed between the two CVS versions with
regard to the alsa output?

# MPlayer dev-CVS-040510-08:43-3.3.3 (C) 2000-2004 MPlayer Team
./mplayer -ao alsa1x -frames 10 Village_Trail3r1_55519_1500.mov | & grep ^alsa
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
alsa-uninit: pcm closed

# MPlayer dev-CVS-040522-06:07-3.3.3 (C) 2000-2004 MPlayer Team
mplayer -ao alsa -frames 10 Village_Trail3r1_55519_1500.mov | & grep ^alsa
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/4064 bytes buffer/Signed 16 bit Little Endian
alsa-uninit: pcm closed




More information about the MPlayer-users mailing list