From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261320AbVC2Tc4 (ORCPT ); Tue, 29 Mar 2005 14:32:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261326AbVC2TcM (ORCPT ); Tue, 29 Mar 2005 14:32:12 -0500 Received: from ns.suse.de ([195.135.220.2]:24267 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S261320AbVC2TbK (ORCPT ); Tue, 29 Mar 2005 14:31:10 -0500 Date: Tue, 29 Mar 2005 21:31:09 +0200 Message-ID: From: Takashi Iwai To: Lee Revell Cc: Benjamin Herrenschmidt , Linux Kernel list Subject: Re: Mac mini sound woes In-Reply-To: <1112123109.4922.3.camel@mindpipe> References: <1111966920.5409.27.camel@gaston> <1112067369.19014.24.camel@mindpipe> <1112094290.6577.19.camel@gaston> <1112123109.4922.3.camel@mindpipe> 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=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Tue, 29 Mar 2005 14:05:08 -0500, Lee Revell wrote: > > On Tue, 2005-03-29 at 21:04 +1000, Benjamin Herrenschmidt wrote: > > Can the driver advertize in some way what it can do ? depending on the > > machine we are running on, it will or will not be able to do HW volume > > control... You probably don't want to use softvol in the former case... > > > > dmix by default would be nice though :) > > No, there's still no way to ask the driver whether hardware mixing is > supported yet. It's come up on alsa-devel before. Patches are welcome. Well I don't remember the discussion thread on alsa-devel about this, but it's a good idea that alsa-lib checks the capability of hw-mixing and apples dmix only if necessary. (In the case of softvol, it can check the existence of hw control by itself, though.) Currently, dmix is enabled per driver-type base. That is, dmix is set to default in each driver's configuration which is known to have no hw mixing functionality. > dmix by default would not be nice as users who have sound cards that can > do hardware mixing would be annoyed. However, in the upcoming 1.0.9 > release softvol will be used by default for all the mobo chipsets. On 1.0.9, dmix will be default, too, for most of mobo drivers. Takashi