Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756280AbXFYMus (ORCPT ); Mon, 25 Jun 2007 08:50:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753530AbXFYMuk (ORCPT ); Mon, 25 Jun 2007 08:50:40 -0400 Received: from ns1.suse.de ([195.135.220.2]:37073 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752650AbXFYMuj (ORCPT ); Mon, 25 Jun 2007 08:50:39 -0400 Date: Mon, 25 Jun 2007 14:50:36 +0200 Message-ID: From: Takashi Iwai To: Olivier Galibert Cc: Jan Engelhardt , Tomasz K?oczko , Alan Cox , linux-kernel@vger.kernel.org Subject: Re: Is it time for remove (crap) ALSA from kernel tree ? In-Reply-To: <20070625124750.GB44019@dspnet.fr.eu.org> References: <20070624200837.16e11305@the-village.bc.nu> <20070624215724.025a5de5@the-village.bc.nu> <20070625124750.GB44019@dspnet.fr.eu.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta27) (fiddleheads) (+CVS-20060704) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 32 At Mon, 25 Jun 2007 14:47:50 +0200, Olivier Galibert wrote: > > On Mon, Jun 25, 2007 at 02:40:23PM +0200, Jan Engelhardt wrote: > > > > On Jun 25 2007 14:31, Takashi Iwai wrote: > > >> It was started in time when most cheap sound cards was without hw mixer. > > >> And .. when today you use ALSA on sound card without hw mixer still all > > >> this (past ?) problems are actual. > > > > > >Huh? I have no problems with soft mixing... > > > > Diverging from the discussion, how is soft mixing actually done? If it was done > > in userspace, it would need shared memory, or a back relay from kernelspace to > > userspace (and back again for the final output), otherwise I could not imagine > > how all alsa streams came together at one point. > > SysV shared memory and semaphores, done in the alsa lib. > > Yes, your kernel sound access library does shared mem, semaphores, > fork+exec and friends. FYI, fork+exec was removed long time ago. shmem and semaphores still remain, though. 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/