All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Raghavan <arun.raghavan@collabora.co.uk>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: alsa-devel@alsa-project.org, 'Clemens Ladisch' <clemens@ladisch.de>
Subject: Re: Correct way to set NONAUDIO flag
Date: Wed, 17 Aug 2011 21:11:32 +0530	[thread overview]
Message-ID: <1313595699.533.33.camel@snowflake> (raw)
In-Reply-To: <000901cc5cf2$af7fa180$0e7ee480$@bossart@linux.intel.com>

On Wed, 2011-08-17 at 10:31 -0500, Pierre-Louis Bossart wrote:
> > > > I'm trying to figure out the right way to set the NONAUDIO flag on
> > an
> > > > 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.

Well, given this is the best way to do it, my plan is to just close
(suspend) and reopen (unsuspend) and tack on the the right flags to the
device name when we're in passthrough mode.

-- Arun

  parent reply	other threads:[~2011-08-17 15:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17  7:59 Correct way to set NONAUDIO flag Arun Raghavan
2011-08-17 12:42 ` Clemens Ladisch
2011-08-17 13:06   ` Arun Raghavan
2011-08-17 14:55     ` Clemens Ladisch
2011-08-17 15:41       ` Arun Raghavan
2011-08-17 15:31     ` Pierre-Louis Bossart
     [not found]     ` <000901cc5cf2$af7fa180$0e7ee480$@bossart@linux.intel.com>
2011-08-17 15:41       ` Arun Raghavan [this message]
2011-08-17 17:01       ` Clemens Ladisch

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=1313595699.533.33.camel@snowflake \
    --to=arun.raghavan@collabora.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=pierre-louis.bossart@linux.intel.com \
    /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.