From: Takashi Iwai Subject: Re: CMI8788/AV200/Oxygen Volume Controls in alsamixer (oxygen_mixer.c:dac_volume_get()) Date: Fri, 23 Jan 2009 14:56:31 +0100 Message-ID: References: <49790314.10607@dmx.com> <4979CB63.9030205@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id B9B9824421 for ; Fri, 23 Jan 2009 14:56:31 +0100 (CET) In-Reply-To: <4979CB63.9030205@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: ALSA Developers , "John L. Utz III" List-Id: alsa-devel@alsa-project.org At Fri, 23 Jan 2009 14:51:31 +0100, Clemens Ladisch wrote: > > John L. Utz III wrote: > > It appears to me that these functions are attempting to work on all of > > the channels at once instead of just choosing Master, Front, Rear, > > Surround, or what have you: > > Yes, the "Master" control is one control with eight channels. > > > this leads to a rather awkward result in alsamixer where there are 5 > > volume controls called "Master": > > > > < Master > Master Master Master Master > > > > IMHO, it would be more desirable for them to say: > > > > < Master > Front C/LFE Surround Rear Surr > > Yes. > > Alsamixer chooses to display an eight-channel control this way. This > can be considered a bug in alsamixer. The current ALSA mixer abstraction splits the multi-channels into separate paired channels. But alsamixer can't show the channel name due to its UI design. And I guess other mixer apps don't handle them properly, too (who would care?). A solution would be make individual control like "Front", and create a virtual master control. Takashi