public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Arijit De <arijit.de@geosemi.com>
To: Clemens Ladisch <clemens@ladisch.de>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: stereo uac device control over mixer
Date: Mon, 11 May 2015 15:28:52 +0000	[thread overview]
Message-ID: <1431358131671.36088@geosemi.com> (raw)
In-Reply-To: <5548C97B.90908@ladisch.de>

Hi Clemens,

I want to do Left/Right Mic mute independently,
but I dont see that kind of control is provided in alsamixer(GUI) for capture devices.

Is Left/Right Mic mute is supported ?

because I can see a api for the same
snd_mixer_selem_set_capture_switch (snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int value);

Thanks
Arijit
________________________________________
From: Clemens Ladisch <clemens@ladisch.de>
Sent: Tuesday, May 5, 2015 7:15 PM
To: Arijit De; alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] stereo uac device control over mixer

Arijit De wrote:
>       AudioControl Interface Descriptor:
>         bLength                 9
>         bDescriptorType        36
>         bDescriptorSubtype      6 (FEATURE_UNIT)
>         bUnitID                 2
>         bSourceID               1
>         bControlSize            1
>         bmaControls( 0)      0x03
>           Mute Control
>           Volume Control

These are the controls for the master channel.

>         bmaControls( 1)      0x03
>           Mute Control
>           Volume Control

These are the controls for the mic's left channel.

>         iFeature                0

The controls for the mic's right channel are missing.


There are no descriptors for playback, but this does not matter for the
mixer.


Regards,
Clemens

      reply	other threads:[~2015-05-11 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04  8:34 stereo uac device control over mixer Arijit De
2015-05-04 13:03 ` Clemens Ladisch
2015-05-05  4:31   ` Arijit De
2015-05-05 13:45     ` Clemens Ladisch
2015-05-11 15:28       ` Arijit De [this message]

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=1431358131671.36088@geosemi.com \
    --to=arijit.de@geosemi.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox