[MPlayer-users] Alsa + 5.1 surround

stoic at chello.nl stoic at chello.nl
Wed Oct 15 00:55:55 CEST 2003


Hi all,

I recently installed mplayer version 0.92-3.2.2 successfully. However, I can't 
get surround51 working with the alsa-plugin. I use the alsa-0.9.7 driver. My 
soundcard is an intel8x0 based onboard card. I have an Asus P4PE motherboard.


I invoke mplayer as follows:

$ mplayer -v -channels 6 -ao alsa9:surround51 <avifile>

Here are the audio sections:

"==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
=========================================================================="

"==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/6ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 6 channels, Signed 16-bit 
(Little-Endian)
alsa-init: compiled for ALSA-0.9.7
alsa-init: soundcard set to surround51
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=5, fragcount=5
alsa-init: got buffersize=61440
alsa9: 48000 Hz/6 channels/12 bpf/61440 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa9] 48000Hz 6ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi <alex at fsn.hu>, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/6ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
[libaf] Adding filter channels 
[channels] Changing number of channels to 6
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
Starting playback...
alsa-space: free space = 61440, status=139748592, prepared --
[libaf] Reallocating memory in module channels, old len = 0, new len = 61432
=========================================================================="



More information about the MPlayer-users mailing list