All of lore.kernel.org
 help / color / mirror / Atom feed
* stereo uac device control over mixer
@ 2015-05-04  8:34 Arijit De
  2015-05-04 13:03 ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Arijit De @ 2015-05-04  8:34 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-11 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.