public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Arijit De <arijit.de@geosemi.com>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: stereo uac device control over mixer
Date: Mon, 4 May 2015 08:34:16 +0000	[thread overview]
Message-ID: <1430728456157.40941@geosemi.com> (raw)

Hi,

I am working on a USB audio MIC device(capture device),
implemented UAC1.0 spec inside the firmware for that,
my device is a stereo uac capture? device.
I am trying to enable left and write channel separate control(volume, mute etc.) over mixer interface.

my understanding about how to enable channel specific control is
in UAC Feature Unit Descriptor
if I add bmaControls(0) and bmaControls(1) with correct bitmap for Mute & Volume support
amixer is able to identify my device as a two MIC device,

amixer output for my usb audio capture device
**********************************
Simple mixer control 'Mic',0
  Capabilities: cvolumecaps joined 780
 cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 15
  Mono: Capture 9 [60%] [27.00dB] [on]
Simple mixer control 'Mic',1
  Capabilities: cvolumecaps joined 780
 cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 15
  Mono: Capture 9 [60%] [27.00dB] [on]
**********************************

is the correct way of achieving it
OR
ideally there should be a single Mic with "Front Left - Front Right" support ?

Thanks
Arijit

             reply	other threads:[~2015-05-04  8:34 UTC|newest]

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

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=1430728456157.40941@geosemi.com \
    --to=arijit.de@geosemi.com \
    --cc=alsa-devel@alsa-project.org \
    /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