All of lore.kernel.org
 help / color / mirror / Atom feed
* Correct way to set NONAUDIO flag
@ 2011-08-17  7:59 Arun Raghavan
  2011-08-17 12:42 ` Clemens Ladisch
  0 siblings, 1 reply; 8+ messages in thread
From: Arun Raghavan @ 2011-08-17  7:59 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-17 17:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.