Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262177AbVERNkb (ORCPT ); Wed, 18 May 2005 09:40:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262168AbVERNkb (ORCPT ); Wed, 18 May 2005 09:40:31 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53969 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S262177AbVERNjm (ORCPT ); Wed, 18 May 2005 09:39:42 -0400 Date: Wed, 18 May 2005 15:39:41 +0200 Message-ID: From: Takashi Iwai To: "J.A. Magallon" Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.12-rc3-mm3: ALSA broken ? In-Reply-To: <1116369585l.8840l.0l@werewolf.able.es> References: <20050504221057.1e02a402.akpm@osdl.org> <1115510869l.7472l.0l@werewolf.able.es> <1115594680l.7540l.0l@werewolf.able.es> <1115936836l.8448l.1l@werewolf.able.es> <1116331359l.7364l.0l@werewolf.able.es> <1116369585l.8840l.0l@werewolf.able.es> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1823 Lines: 56 At Tue, 17 May 2005 22:39:45 +0000, J.A. Magallon wrote: > > > On 05.17, Takashi Iwai wrote: > ... > > > > > > Example: go into 4ch mode. Check this control. Then switch to 6ch mode. > > > The Center jack has no sound (it should, shouldn't ?). Check it and voil?. > > > It looks that the logic in the channel selection needs to set this flag also... > > > > Yep, you're right. Try the patch below. > > > > > > Thanks, this patch worked. When in 6ch mode, the boolen flag we talk about > still controls if the line jack is input or output. In 4ch mode, it is always > input. If i chech it, switching to 6ch does not toggle it. They are > independent controls. > > Anyways. I can't get rid of the flag. It is initialized to on by default. > Isn't strange to have two ways of controlling this ? > > Now we have: > > Surround jack mode: [Shared/Independent] > Channel mode [2/4/6] > Center/LFE jack as mic [on/off] > Spread Front... [on/off] Apply *both* patches I sent. They don't conflict. > Would not be nice something like: > > Surround jacks mode: [Shared/Independent] > Line Jack: [in/surround-out/extra-front-out] > Mic Jack: [in/center-out/extra-front-out] > > It looks like internally you can control all ouputs independently. > Just an idea that looks more logical/intuitive to me... I don't think so. You'll want to have spreaded front to indepent surround jacks, too. > Ah, and could the input level controllers for line and mic be forced > to mute when used as inputs ? This is doable but tricky since you have to remember the last values. Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/