On Mon, Mar 10, 2003 at 03:52:32PM +0100, Takashi Iwai wrote:

> ah, now got the point.
> 
> surround51 pcm is for ANALOG 5.1 output.  and it's NOT supported on
> cs46xx yet.
> 
> the easiest way to check is to use ac3dec in alsa-utils.
> run with -C option for AC3-passthru mode.

;-)
With -C I don't hear anything with my file, so with -P, but with -R I
can hear the sound, but my receiver only tell me about stereo, no 5.1.

Something I really don't understand:

./ac3dec -C /data/linux/dvb/from_beyond_the_edge_44k_256kbps.ac3
Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
AC3 Stream 44.1 KHz 256 kbps

Don't gives me any sound, but
./ac3dec -D iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 
/data/linux/dvb/from_beyond_the_edge_44k_256kbps.ac3
5.1 Mode 44.1 KHz 256 kbps Complete Main Audio Service
Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
does (stereo only).

Where could I find info about those?

Oh, just for the info, for playing with mplayer, the abs option is
really cool:

mplayer -dvd 1 -ao alsa9 -channels 2 -abs 3
allow me to hear stereo sound with alsa:
Checking audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
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, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...

And with mplayer -dvd 1 -ao alsa9:iec958 -channels 2 -abs 3
I have also great stereo sound:
Checking audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
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, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: soundcard set to iec958
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...

But with
mplayer -dvd 1 -ao alsa9:iec958 -channels 6 -abs 3:
Checking audio filter chain for 48000Hz/6ch/16bit ->
48000Hz/6ch/16bit...
AF_pre: af format: 2 bps, 6 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 6ch 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: soundcard set to iec958
alsa-init: unable to set channels: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound

Any idea?
And yes, the DVD I have tried are 5.1 (also DTS)...

Thank you very much,

        Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to