From: Arun Raghavan <arun.raghavan@collabora.co.uk>
To: alsa-devel@alsa-project.org
Subject: Correct way to set NONAUDIO flag
Date: Wed, 17 Aug 2011 13:29:07 +0530 [thread overview]
Message-ID: <1313567970.533.21.camel@snowflake> (raw)
Hello,
I'm trying to figure out the right way to set the NONAUDIO flag on an
iec958 device. The idea is that when we get a new stream in PulseAudio
that signals a non-PCM format, we'd like to set the NONAUDIO flag to let
receivers know that this isn't PCM data. I tried doing what iecset does
in the PA alsa-sink code but this fails.
As far as I can tell, this happens because: (a) if I set the flag before
snd_pcm_open(), the AES0 value from iec958.conf gets used, and (b) if I
set the flag after snd_pcm_open(), changing the value is no longer
permitted.
Any help/pointers would be appreciated.
Thanks,
Arun
next reply other threads:[~2011-08-17 7:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 7:59 Arun Raghavan [this message]
2011-08-17 12:42 ` Correct way to set NONAUDIO flag 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
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=1313567970.533.21.camel@snowflake \
--to=arun.raghavan@collabora.co.uk \
--cc=alsa-devel@alsa-project.org \
/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