From: Clemens Ladisch <clemens@ladisch.de>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: 'Arun Raghavan' <arun.raghavan@collabora.co.uk>,
alsa-devel@alsa-project.org
Subject: Re: Correct way to set NONAUDIO flag
Date: Wed, 17 Aug 2011 19:01:52 +0200 [thread overview]
Message-ID: <4E4BF400.9010707@ladisch.de> (raw)
In-Reply-To: <000901cc5cf2$af7fa180$0e7ee480$@bossart@linux.intel.com>
Pierre-Louis Bossart wrote:
> 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.
That's how the iec958 device is intended to work.
The AES0..3 parameters of the iec958 device are the _only_ way to set
these flags. If you don't set them, they get a static default value;
see <http://git.alsa-project.org/?p=alsa-lib.git;a=blob;hb=HEAD;f=src/conf/pcm/iec958.conf>.
If PA wants to set these flags, it must do so when opening the device;
any other mechanism will not work.
Regards,
Clemens
prev parent reply other threads:[~2011-08-17 17:01 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
2011-08-17 17:01 ` Clemens Ladisch [this message]
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=4E4BF400.9010707@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=arun.raghavan@collabora.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox