Re: Select source support in alsa soc

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

 



On Mon, Oct 20, 2008 at 12:54:00PM +0530, naveen krishna ch wrote:

> I have a driver now at a palce where i can play back with stereo headset and
> 
> record through line in cable.

> I need some understanding of how can i give support for selecting output and
> input sources.

> I have understood the way it is done in ALSA but i feel the sane should not
> be used in
> ALSA SOC frame work.

Normally this would be done through the standard ALSA APIs from user
space.  Depending on what exactly you wish to control in the hardware
this would either be done using the standard controls provided by the
codec driver or by defining additional controls for your machine in the
machine driver.  Several existing machine drivers such as the tosa
driver in sound/soc/pxa/tosa.c implement the second approach.

Often the software running on the device will have several standard
usage scenarios and change between them by restoring ALSA state files
with alsactl.  You may also find the scenario API here:

	http://opensource.wolfsonmicro.com/node/14

useful.
_______________________________________________
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