From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Christensen Subject: Re: Mixer control names out of control? Date: Sun, 28 Nov 2004 17:00:42 +0100 Message-ID: <41A9F62A.9080105@developers.dk> References: <200411280900.iAS90NIP014838@www4.pobox.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200411280900.iAS90NIP014838@www4.pobox.sk> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Peter Zubaj Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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 Peter Zubaj wrote: >>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 > > >>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/