Skip to contentSkip to conversation

List of control parameters needed

DISCUSSION Pavana Sharma 4 participants 4 messages Mar 22, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I am trying to export the controls to user space. I want to know the complete list of controls
which ALSA expects the codec to support. For example, few are as below,

Master Playback Volume
Master Playback Switch
Tone Control - Bass
Tone Control - Treble
Line Capture Volume
Mic Capture Volume
Mic Sensitivity
Mic Auto Volume
Mic Auto Switch

Where can I get the complete list of controls which an audio codec has to support.

Thanks & Regards
Pavana S

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 7 lines · Pavana Sharma

Hello,

I am trying to export the controls to user space. I want to know the complete list of controls
[...]
Where can I get the complete list of controls which an audio codec has to support.

There is not such a list because they depend on the hardware. But there is a list of common names that all drivers should respect. The list is: /alsa-kernel/Documentation/ControlNames.txt

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw
In reply to Pavana Sharma
Quoted 16 lines · Pavana Sharma

Hello,

I am trying to export the controls to user space. I want to know the complete list of controls
which ALSA expects the codec to support. For example, few are as below,

Master Playback Volume
Master Playback Switch
Tone Control - Bass
Tone Control - Treble
Line Capture Volume
Mic Capture Volume
Mic Sensitivity
Mic Auto Volume
Mic Auto Switch

Quoted 7 lines

Where can I get the complete list of controls which an audio codec has to support.

Thanks & Regards
Pavana S

The envy24/ice1712 cards do not have a Master or PCM control.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#3 lore raw
Quoted 2 lines
Quoted 2 lines

Where can I get the complete list of controls which an audio codec has to support.

there is no such list.

and lets get the terminology straightened out here before this goes any further.

"codec" comes (in this context) from "coder/decoder". that maps roughly to what is more properly referred to as an analog-to-digital or digital-to-analog converter (or both). these days, it could also include devices that convert from one digital format (e.g. ADAT LightPipe) to another (e.g. S/PDIF or T/DIF).

thus, the list you offered actually to do with audio codecs, but is in fact a description of the types of controls you might find on a *mixer*.

however, given that there are cards without a mixer at all, plus cards with radically different mixer designs, plus cards with extremely simple mixers plus cards with extremely complex designs, there cannot be a list of controls that any mixer will support. Even the idea of a microphone input is h/w specific, as is the idea of a master volume control.

the best you could probably hope for is to first see if the mixer you have has support for a "standard mixer API", then use that API. but no such API exists at this time, and you would still have to have a fallback position if you are using h/w that has no mixer or a mixer than cannot support a "standard mixer API".

--p

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click