Re: snd_kcontrol questions

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

 



I have a quick follow up question;

In the KMix there is a balance bar. How do I get control access to the same
from my driver?

On Mon, May 26, 2008 at 3:12 PM, Harsha priya gupta <harshapriya@xxxxxxxxx>
wrote:

> Thanks a lot. Answers for 1 and 3 helped me fix my issues. Ill review my
> code for 2 and shall seek your help if i find myself unlucky.
>
> Thanks again.
>
>
>
> On Thu, May 22, 2008 at 4:28 PM, Clemens Ladisch <clemens@xxxxxxxxxx>
> wrote:
>
>> Harsha priya gupta wrote:
>> > 1. I want to define a snd_kcontrol that is of type mono.
>>
>> In the control's info callback, set the count element of the
>> snd_ctl_elem_info structure to 1.
>>
>> > 2. My input controls give out 9 channels when i say 'split channels' in
>> > kmix. can anyone help me how to fix that to 2 channels
>>
>> There's something wrong in your code.  Which you didn't show.
>>
>> > 3. I would want to get the individual setting of each channel from KMIX
>> into
>> > my ALSA driver. How do I get them?
>>
>> The snd_ctl_elem_value structure contains an array of values.
>>
>>
>> HTH
>> Clemens
>>
>
>
>
> --
> -Harsha




-- 
-Harsha
_______________________________________________
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