All of lore.kernel.org
 help / color / mirror / Atom feed
* Codec "virtual multiplexer" representation
@ 2016-02-17 16:02 Petr Kulhavy
  2016-02-18  5:30 ` Andreas Dannenberg
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Kulhavy @ 2016-02-17 16:02 UTC (permalink / raw)
  To: alsa-devel

Hi,

I'm writing an ASoC driver for the  TAS5721 amplifier.
This 2.1 amplifier provides a complex configuration of the audio 
channels (3), PWMs(4) and output(4) mappings.
However only few (about 6) configurations really make sense.

I'm trying to model the output configurations in ALSA. In order to avoid 
a complicated set of switches and multiplexers I would like
to add just one multiplexer like control which selects one of these 6 
output configurations and a callback function which sets the proper
registers accordingly (there are 5 affected registers).

Is there a way to create such a "virtual multiplexer" in ALSA?

Thanks
Petr

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

end of thread, other threads:[~2016-02-24 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 16:02 Codec "virtual multiplexer" representation Petr Kulhavy
2016-02-18  5:30 ` Andreas Dannenberg
2016-02-24 16:57   ` Petr Kulhavy

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.