All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@lists.sourceforge.net
Subject: Re: How to put 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream?
Date: Tue, 08 Apr 2003 21:30:31 +0100	[thread overview]
Message-ID: <3E933167.6010300@superbug.demon.co.uk> (raw)
In-Reply-To: <20030408164241.GA4253@ulima.unil.ch>

Gregoire Favre wrote:

>On Tue, Apr 08, 2003 at 05:50:48PM +0200, Takashi Iwai wrote:
>
>  
>
>>i'm afraid that it's not so easy as it sounds.  it strongly depends
>>on the hardware driver implementation...
>>
>>about AC3, 32bit spdif is likely irrelevant.  A52 (AC3) is usally
>>packed into normal 16bit frames.
>>
>>does the click happen even if you use alsa-tool's ac3dec?
>>    
>>
>
>Yes and no:
>
>./ac3dec -C /data/linux/dvb/from_beyond_the_edge_44k_256kbps.ac3 don't
>produce any sound at all now... except ONE big click at the beginning,
>same with -P and
>./ac3dec -R /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=0x0,AES1=0x82,AES2=0x0,AES3=0x2'
>
>Produces also the same big click and then plays quiete good (only 2.0 no
>dolby digital is sent to the receiver...).
>
>Thank you very much,
>
>	Gr?goire
>________________________________________________________________
>http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
>
>  
>
On my SB Live, with AC3 I use: -
PCM device "iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2"

On your example AES0=0x0, whereas I have AES0=0x6.
It is AES0 which sets the non-audio bits in the SPDIF.

Cheers
James





-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

  reply	other threads:[~2003-04-08 20:30 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 14:02 How to put 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream? Gregoire Favre
2003-04-08 14:28 ` Paul Davis
2003-04-08 15:50   ` Takashi Iwai
2003-04-08 16:42     ` Gregoire Favre
2003-04-08 20:30       ` James Courtier-Dutton [this message]
2003-04-08 20:44         ` Gregoire Favre
2003-04-09 10:34         ` James Courtier-Dutton
2003-04-09 11:06           ` Gregoire Favre
2003-04-09 16:50             ` James Courtier-Dutton
2003-04-09 17:58               ` Gregoire Favre
2003-04-10 17:43               ` James Courtier-Dutton
2003-04-08 21:39     ` Benny Sjostrand
2003-04-08 20:55       ` Gregoire Favre
2003-04-08 21:28         ` James Courtier-Dutton
2003-04-08 21:55           ` Gregoire Favre
2003-04-09  6:59           ` Benny Sjostrand
2003-04-09  8:28             ` Gregoire Favre
2003-04-09 11:09               ` Takashi Iwai
2003-04-09 11:43                 ` Gregoire Favre
2003-04-09 13:11                   ` Takashi Iwai
2003-04-09 17:58                     ` Gregoire Favre
2003-04-10 11:21                     ` James Courtier-Dutton
2003-04-10 11:26                       ` Gregoire Favre
2003-04-13 11:41                         ` Benny Sjostrand
2003-04-13 17:05                           ` Gregoire Favre
2003-04-13 18:21                             ` Benny Sjostrand
2003-04-13 18:30                               ` Gregoire Favre
2003-04-13 23:23                                 ` Benny Sjostrand
2003-04-14 19:06                                   ` Gregoire Favre
2003-04-14 22:20                                     ` Benny Sjostrand
2003-04-14 21:27                                       ` Gregoire Favre
2003-04-14 23:00                                         ` Benny Sjostrand
2003-04-14 22:14                                           ` Gregoire Favre
2003-04-09 21:17               ` Benny Sjostrand
2003-04-09 20:38                 ` Gregoire Favre
  -- strict thread matches above, loose matches on Subject: below --
2003-04-08 23:33 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=3E933167.6010300@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=greg@ulima.unil.ch \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.