Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: SPDIF and cs46xx ?
Date: Tue, 11 Mar 2003 17:54:59 +0100	[thread overview]
Message-ID: <s5h65qp3kt8.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030310211540.GA31584@ulima.unil.ch>

At Mon, 10 Mar 2003 22:15:40 +0100,
Gregoire Favre wrote:
> 
> 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,

44.1kHz ac3 ?  then it likely doesn't work because ac3dec assumes
48k only.

> 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).

without -C option, it's not sent as a raw data.


> 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
                                       ^^^^^^
the spdif device is hw:0,2.
i guess ther is an option in mplayer to specify the pcm name for
ALSA.  use "spdif" there instead of "hw:0,2".


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

  reply	other threads:[~2003-03-11 16:54 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-08 14:41 SPDIF and cs46xx ? Gregoire Favre
2003-03-08 17:28 ` Benny Sjostrand
2003-03-08 17:52   ` Gregoire Favre
2003-03-10 14:42     ` Takashi Iwai
2003-03-10 14:46       ` Gregoire Favre
2003-03-10 14:52         ` Takashi Iwai
2003-03-10 15:34           ` Gregoire Favre
2003-03-10 21:15           ` Gregoire Favre
2003-03-11 16:54             ` Takashi Iwai [this message]
2003-03-11 23:35               ` Gregoire Favre
2003-03-12 11:08                 ` Ronny V. Vindenes
2003-03-12 11:50                   ` Gregoire Favre
     [not found] <20030313132536.GB11388@ulima.unil.ch>
2003-03-14 10:55 ` Ronny V. Vindenes
2003-03-14 21:29   ` Benny Sjostrand
2003-03-14 22:04     ` Christian Esken
  -- strict thread matches above, loose matches on Subject: below --
2003-03-16 21:31 Peter Heatwole
2003-03-16 23:23 ` Benny Sjostrand
2003-03-29 14:20   ` Gregoire Favre
2003-03-30  1:11     ` Benny Sjostrand
2003-03-30 14:46       ` Gregoire Favre
2003-03-30 19:35         ` Benny Sjostrand
2003-03-30 18:42           ` Gregoire Favre
     [not found]           ` <20030331115057.GB3187@wotan.suse.de>
2003-03-31 13:58             ` Benny Sjostrand
     [not found]         ` <20030331114752.GA3187@wotan.suse.de>
2003-04-04 11:46           ` Gregoire Favre
2003-04-04 18:01             ` Benny Sjostrand
2003-04-04 17:25               ` Gregoire Favre
2003-04-05 18:46                 ` Benny Sjostrand
2003-04-05 18:29                   ` Gregoire Favre
2003-04-05 21:48                     ` Benny Sjostrand
     [not found]             ` <20030407091749.GA7661@wotan.suse.de>
2003-04-07 16:45               ` Gregoire Favre
2003-03-16 22:56 Peter Heatwole
2003-03-17  0:10 ` Benny Sjostrand
2003-03-16 23:11 Peter Heatwole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h65qp3kt8.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=greg@ulima.unil.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox