All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: James Courtier-Dutton <James@superbug.demon.co.uk>
Cc: Gregoire Favre <greg@ulima.unil.ch>, 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: Wed, 09 Apr 2003 11:34:52 +0100	[thread overview]
Message-ID: <3E93F74C.20607@superbug.demon.co.uk> (raw)
In-Reply-To: <3E933167.6010300@superbug.demon.co.uk>

James Courtier-Dutton wrote:

> 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
>
Can you send me a URL so that I can download 
"from_beyond_the_edge_44k_256kbps.ac3" and test it on my system.
My external AC3 decoder requires the info bits to be set to "non-audio" 
just like yours.
I might be able to get it working if I have a sample stream.
I have been wanting to get 44.1khz AC3 working for a long time, but have 
never had a stream to play with.
I understand that you can get some enharnaced CDs now which have 
non-audio AC3 data on them instead of PCM, and I would like to be able 
to play these in linux.
Cheers
James




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

  parent reply	other threads:[~2003-04-09 10:34 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
2003-04-08 20:44         ` Gregoire Favre
2003-04-09 10:34         ` James Courtier-Dutton [this message]
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=3E93F74C.20607@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --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 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.