From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaroslav Kysela Subject: Re: DMIX and capture stream Date: Mon, 5 Jan 2004 17:28:33 +0100 (CET) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200401040507.i0457Qbv005994@dhin.linuxaudiosystems.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: David Lloyd Cc: ALSA Mailing List List-Id: alsa-devel@alsa-project.org On Mon, 5 Jan 2004, David Lloyd wrote: > On Sun, 4 Jan 2004, Paul Davis wrote: > > > >I'm working on changing DMIX to allow clients to open the capture stream. > > > > i don't get it. dmix is for playback, not capture. what would be the > > semantics of this? > > That is exactly the problem! DMIX is for playback. DSNOOP is for > capture. Where is the module that is for both? Why, oh why, did they not > simply make ONE MODULE in the first place?? Both are logically separate, because they're doing absolutely different things. > The semantics would be (rather would have been) that if someone tries to > open the capture stream through the dmix plugin, it will "pass through" to > the slave. This means that while many apps can open playback stream, only > one would be able to open capture without blocking. > > It would have been ideal to integrate dsnoop functionality, but I deemed > that this was a bit too complicated for an initial implementation. > > Of course at this point, I'm ready to forget it. I've got too many things > going on to justify not just buying a new sound card, much as that > irritates me. What's your problems? ALSA applications should offer you to set the playback and capture devices independently. If you bother with the OSS emulation, simply change the code in oss_dsp_open() - alsa-oss/alsa-oss.c. Perhaps, we can do it for you. Jaroslav ----- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click