From: Clemens Ladisch <clemens@ladisch.de>
To: Harsha priya gupta <harshapriya@gmail.com>
Cc: Alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: snd_kcontrol questions
Date: Thu, 22 May 2008 12:58:31 +0200 [thread overview]
Message-ID: <483551D7.1000500@ladisch.de> (raw)
In-Reply-To: <827ad74d0805212315o7e55bf92q6aa81cfa9c1e461e@mail.gmail.com>
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
next prev parent reply other threads:[~2008-05-22 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-22 6:15 snd_kcontrol questions Harsha priya gupta
2008-05-22 10:58 ` Clemens Ladisch [this message]
2008-05-26 9:42 ` Harsha priya gupta
2008-05-27 5:30 ` Harsha priya gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=483551D7.1000500@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=harshapriya@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.