Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755506AbXFYMr6 (ORCPT ); Mon, 25 Jun 2007 08:47:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752631AbXFYMrv (ORCPT ); Mon, 25 Jun 2007 08:47:51 -0400 Received: from dspnet.fr.eu.org ([213.186.44.138]:2442 "EHLO dspnet.fr.eu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752429AbXFYMrv (ORCPT ); Mon, 25 Jun 2007 08:47:51 -0400 Date: Mon, 25 Jun 2007 14:47:50 +0200 From: Olivier Galibert To: Jan Engelhardt Cc: Takashi Iwai , Tomasz K?oczko , Alan Cox , linux-kernel@vger.kernel.org Subject: Re: Is it time for remove (crap) ALSA from kernel tree ? Message-ID: <20070625124750.GB44019@dspnet.fr.eu.org> Mail-Followup-To: Olivier Galibert , Jan Engelhardt , Takashi Iwai , Tomasz K?oczko , Alan Cox , linux-kernel@vger.kernel.org References: <20070624200837.16e11305@the-village.bc.nu> <20070624215724.025a5de5@the-village.bc.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 27 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. Back relay and virtual devices is the way it should have been done. OG. - 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/