From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Courtier-Dutton 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 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <3E93F74C.20607@superbug.demon.co.uk> References: <20030408140230.GA1987@ulima.unil.ch> <20030408164241.GA4253@ulima.unil.ch> <3E933167.6010300@superbug.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3E933167.6010300@superbug.demon.co.uk> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: James Courtier-Dutton Cc: Gregoire Favre , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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