Takashi Iwai wrote:
At Wed, 13 May 2009 18:43:04 +0000, Nickolas Lloyd wrote:
This patch adds a mixer control for the STAC92XX boards to control the DC bias of mic ports, allowing recording from both powered and non-powered sources. It replaces the "Mic Output Switch" with "Mic Jack Mode" to switch between Mic, Line In, and Line Out.
Signed-off by: Nickolas Lloyd ultrageek.lloyd@gmail.com
Note: diffed against alsa-driver-20090513
Thanks, applied now.
BTW, I think we should change also "Line as Output Switch" to "Line-In Jack Mode" or so to make the code consistent. Care to create a patch?
Takashi
I'd be happy to. Also, as it is now, the control will only be added if autocfg.line_out_type is set to AUTO_PIN_LINE_OUT, so this control may not be added for all mic ports. I was thinking of making the enum show only two entries, Line in and Mic in for these other mics. Thoughts?
Thanks, Nick