Re: Jack insertion

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

 



On Tue, Nov 18, 2008 at 07:07:41PM +0530, naveen krishna ch wrote:

> But, i see the jack layer uses the structure

> struct snd_device {
>         struct list_head list;          /* list of registered devices */
>         struct snd_card *card;          /* card which holds this device */

Look at how you register a jack - it's with the snd_card and....

> The latest ALSA SOC drivers ( In my case my driver ) uses

> struct snd_soc_device {

...the ASoC device is just a particular way of implementing the generic
snd_card and has a snd_card as a member.

> in this case what shall i do to make use of the jack abstraction layer.
> If cant use the jack abstraction layer, can any one suggest me the other way
> out

You can use the snd_card of the ASoC card directly.
_______________________________________________
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