[alsa-devel] Correct way to set NONAUDIO flag
pierre-louis.bossart at linux.intel.com
Wed Aug 17 17:31:07 CEST 2011
> > > I'm trying to figure out the right way to set the NONAUDIO flag on
> > > iec958 device.
> > Use the device name "iec958:AES0=6".
> Thanks. As I understand it, this forces us to set all the flags instead
> of just the one that we're interested in. Is this the only way?
I banged my head against the wall on this one for eAC3 support. For some
strange reason my receiver works fine with AC3 without touching the C bits,
but for eAC3 setting the NONAUDIO bit is required.
If you try to set the bits with ALSA controls in PulseAudio, somehow the
settings are overwritten when the iec958 device is opened and initialized
with default values. Clemens is right, setting the AES0=6 in the hdmi
profile proved to be the only solution. It'd be nice to find a solution in
which the iec958 device preserves the AES values set beforehand. That way we
could set the NONAUDIO bit only in passthrough mode.
More information about the Alsa-devel