From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai 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 17:50:48 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030408140230.GA1987@ulima.unil.ch> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: Gregoire Favre , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 08 Apr 2003 10:28:09 -0400, Paul Davis wrote: > > >I have an AC3 receiver which uses the bit flags of the S/P-DIF transport > >stream for identifying none audio, and I use the cs46xx driver for my > >Hercules Digifire 7.1 (under windows, using the included DVD player I > >could have a real 5.1). > > > >Under linux using ALSA, all I get is a cliking sound... does anyone know > >how I could solve this (without changing my hardware of course)? > > > >I have looked at the source, but it's far too complicated for me... > > define a new plughw PCM device in ~/.asoundrc, and use > that. unfortunately, i don't know how to do that, i just know that you > can do it. 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? Takashi ------------------------------------------------------- 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/