[mythtv] Digital audio passthrough

Jean-Yves Avenard jyavenard at gmail.com
Tue Sep 14 15:59:26 UTC 2010


Hi

On 14 September 2010 18:01, James Courtier-Dutton
<james.dutton at gmail.com> wrote:

> I am an ALSA developer.
> From your description of how myth works, I am amazed that AC3
> passthrough ever worked.
> The "device" open will override any mixer controls, so the iecset will
> be forgotten once you open the device.
>
> The correct way to do AC3 passthrough is by opening the device with
> the device name:
> iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
> and not using any "iecset" utility.
>
> This is how xine does it, and it has always worked. I wrote the source
> code in xine to do it.
> When switching from non-audio to PCM, one has to close and open the
> device again.


When I try to open:
front:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

I get:
Error: snd_pcm_open(front:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2): No
such file or directory


More information about the mythtv-dev mailing list