Re: Default enabling of mixer controls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 08, 2009 at 07:54:00PM +0530, Aggarwal, Anuj wrote:

> 	/* Enable Analog Left Capture Route AUXL */
> 	reg = codec->read(codec, TWL4030_REG_ANAMICL);
> 	reg |= TWL4030_AUXL_EN;
> 	codec->write(codec, TWL4030_REG_ANAMICL, reg);

> After that, if I do a get on Analog Left Capture Route AUXL (or the other),
> I am seeing that it has been turned ON. However, when I try to capture,
> It doesn't work. I have to disable it first and then re-enable it to
> capture properly.

Hrm, you'll be missing some internal DAPM state updates.  Currently the
most direct way to do that would be to go through the actual control
interface and there's not a particularly nice way of doing that that
from the kernel that I'm aware of.

Is this not something you can have user space do?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux