From: Takashi Iwai Subject: Re: Only one element for multichannel mixer controls please! Date: Mon, 27 Oct 2008 09:19:56 +0100 Message-ID: References: <20081024234932.GA17812@tango.0pointer.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 mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D806624683 for ; Mon, 27 Oct 2008 09:20:13 +0100 (CET) In-Reply-To: <20081024234932.GA17812@tango.0pointer.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: Lennart Poettering Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Sat, 25 Oct 2008 01:49:33 +0200, Lennart Poettering wrote: > > Heya! > > It seems that quite a few ALSA drivers for multichannel sound cards > export three seperate stereo mixer controls to control front, rear and > center/lfe independantly. That sucks because a client (such as > PulseAudio) cannot make use of this. Instead they should export a > single 6ch mixer control! Depends. For casual users, left/right and rear left/right grouping is more natural way than all separated mixer controls. > The "amixer scontents" output looks very strange for these drivers > since it lists a "Rear" control that as a "Front Left" and a "Front > Right" channel. So, what is it now: front or rear? > > Is there any reason for this current driver behaviour? I mean, the > mixer knows channel ids like SND_MIXER_SCHN_REAR_LEFT perfectly > well. Or is it that those devices have some devices joined and this > cannot be expressd with a single boolean "joined" for each > control? All these are about the channel abstrcation. And, the current smixer abstraction sucks. Really. Takashi