[alsa-devel] Two capture inputs from Cirrus CS4207
Kattwinkel, Bryan (SA-1)
bkattwinkel at drs-ts.com
Tue Jun 7 22:38:06 CEST 2011
I have a requirement to concurrently read both analog stereo inputs from
a Cirrus CS4207 codec on a custom board. I had hoped to find a way to do
this in userspace with a configuration of plugins. But like most ALSA
drivers, pci/hda/patch_cirrus.c exposes just one analog stereo input,
and relies on the mixer and/or mic detect to choose which hardware pin
and which of the two hardware ADC channels to connect to the single
One possible solution would be to add an alternate capture device to the
driver, and there seems to be an example of this approach in the
My questions are what approach should be used to solve this kind of
problem, and is there a better example source to look at instead of or
in addition to patch_realtek.c?
NOTICE: This e-mail transmission (and/or the attachments accompanying it) may contain confidential or proprietary information belonging to DRS Technologies or the sender. The information is only for the use of the intended recipient. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission.
"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior written approval from the U.S. Department of State."
More information about the Alsa-devel