Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751029AbWATOto (ORCPT ); Fri, 20 Jan 2006 09:49:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751030AbWATOto (ORCPT ); Fri, 20 Jan 2006 09:49:44 -0500 Received: from mx2.suse.de ([195.135.220.15]:34249 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S1751028AbWATOtn (ORCPT ); Fri, 20 Jan 2006 09:49:43 -0500 Date: Fri, 20 Jan 2006 15:56:36 +0100 Message-ID: From: Takashi Iwai To: Jan Engelhardt Cc: Peter Zubaj , alsa-devel@lists.sourceforge.net, Adrian Bunk , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, perex@suse.cz Subject: Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach In-Reply-To: References: <20060119174600.GT19398@stusta.de> <200601191947.20748.pzad@pobox.sk> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta21) (corn) (+CVS-20050720) (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: 1269 Lines: 31 At Fri, 20 Jan 2006 15:25:54 +0100 (MET), Jan Engelhardt wrote: > > >Hi, > > > >On Thursday 19 January 2006 18:46, Adrian Bunk wrote: > >> SOUND_EMU10K1 > >> - ALSA #1735 (OSS emulation 4-channel mode rear channels not working) > > > >If I understand alsa - oss emulation correctly, I think, this will be not > >fixed soon (my opinion - never). This is too much work for too little gain. > > On that way, I'd like to inquiry something: > I have a card that works with the snd-cs46xx module. > With the OSS emulation (/dev/dsp), I can only output 2 channels, and the > other two must be sent to /dev/adsp. Is this intended? Would not it be > easier to make /dev/dsp allow receiving an ioctl setting 4 channels? This is exactly like the case of emu10k1. The chip supports only 2-channel stereo streams. If you need a 4-channel interleaved stream, you have to merge the data in two individual streams to a single 4-channel stream on software. Currently, this isn't handled in ALSA kernel-space OSS emulation. 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/