From: Takashi Iwai Subject: Re: AD1988B: ALSA doesn't use dmix automatically Date: Mon, 17 Mar 2008 12:45:20 +0100 Message-ID: References: <20080315234852.25288ff8@tux.abusar.org.br> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id AFF6E10386F for ; Mon, 17 Mar 2008 12:45:20 +0100 (CET) In-Reply-To: <20080315234852.25288ff8@tux.abusar.org.br> 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: =?ISO-8859-1?Q?D=E2niel?= Fraga Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 15 Mar 2008 23:48:52 -0300, D=E2niel Fraga wrote: > = > ALSA 1.0.15 > = > http://alsa.opensrc.org/index.php/Dmix > = > NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix > is enabled as default for soundcards which don't support hw mixing. > = > So why if I try to play 2 sounds at the same time, the second > one complains the "resource is busy"? Shouldn't it detect that AD1988B > can't do hardware mixing and use dmix automatically? = It does as long as the app uses the "default" PCM. The dmix isn't forced to be applied. The exclusive hardware access is still available by opening the PCM as "hw", "plughw" and etc. So, if any apps access exclusively, others will suffer. Takashi