Skip to contentSkip to conversation

Mixer control names out of control?

DISCUSSION Peter Zubaj 2 participants 2 messages Nov 28, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

First of all, the AC97 driver uses the name "IEC958 Playback SPSA".

What's wrong with "IEC958 Playback Volume"?

IEC958 Playback SPSA - this is not volume - this controls what AC97 slot will be used for spdif output.

AFAIK
simple mixer element != kernel mixer control. simple mixer element can containd 6 kernel controls (mayby more):
Playback Volume
Playback Switch
Playback Route

Capture Volume
Capture Switch
Capture Route

Quoted 1 line

Front,Rear,Side

I think there is not constraint on names, there is only recomendation. On some cards you are unable to fit to default names, because you want name something what has diffrent meaning as control on other card. Have you better names for this ?

Peter Zubaj
____________________________________
http://www.pobox.sk/ - najvacsi slovensky freemail

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw

Oh, I didn't know that about SPSA, but it does make quite some sence, as I don't see why one would have volume control on IEC958 :p. But wouldn't it then be more correct to use an enumerated control instead of integer?

But as of simple mixer element vs. kernel mixer controls, I am fully aware, that they are not the same thing. However, the simple elements are generated by the ALSA library based on the names of the mixer controls. But the library basically only recognized the names listed in Documentation/ControlNames.txt when it sorts the simple elements, which means that elements such as Front, Rear and Side are placed almost last on my Aureon card, between lots of unrelated elements. It would be nice if the library did so good a sort, so that you would have the master playback volumes together (Master,Front,Rear,Side,Center,LFE,Surround, etc.), the source volumes together (PCM,Wave,Line,CD,Mic,Aux,Phone,AC97,Video,PC Speaker, etc.), and the IEC958 controls together. And it would be very nice if the simple mixer API had a fuction to tell wether the element was actually read-only. The ICE1724 driver have some sort VU meter or something, which the simple mixers think are ordinary volume controls, although they're read-only.

Peter Christensen

Quoted 21 lines · Peter Zubaj
Quoted 1 line

First of all, the AC97 driver uses the name "IEC958 Playback SPSA".

What's wrong with "IEC958 Playback Volume"?

IEC958 Playback SPSA - this is not volume - this controls what AC97 slot will be used for spdif output.

AFAIK
simple mixer element != kernel mixer control. simple mixer element can containd 6 kernel controls (mayby more):
Playback Volume
Playback Switch
Playback Route

Capture Volume
Capture Switch
Capture Route

Quoted 1 line

Front,Rear,Side

Quoted 12 lines

I think there is not constraint on names, there is only recomendation. On some cards you are unable to fit to default names, because you want name something what has diffrent meaning as control on other card. Have you better names for this ?

Peter Zubaj
____________________________________
http://www.pobox.sk/ - najvacsi slovensky freemail

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/