From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Courtier-Dutton Subject: Re: OSS API redirector Date: Sun, 21 Mar 2004 22:53:10 +0000 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <405E1CD6.4030404@superbug.demon.co.uk> References: <4059AE5E.7030703@superbug.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id AAA20043 for ; Mon, 22 Mar 2004 00:31:15 +0100 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: Jaroslav Kysela , ALSA development List-Id: alsa-devel@alsa-project.org David Lloyd wrote: > On Thu, 18 Mar 2004, James Courtier-Dutton wrote: > > >>What is the conclusion regarding fopen/fclose/fwrite/fread. Can it be >>done? > > > I thought that one rather pie-in-the-sky idea might be to use a kernel > module that made /dev/dsp, /dev/mixer, etc., and reflects back to a > userspace ALSA sound server via another device. This way, it doesn't > matter how the device is opened. > > Might be difficult to do though, especially when you get mmap and > dma involved. > > Just a thought, anyway. > > - D > > I thought of that, but with that you just get different problems. E.g. dmix only works is all application wishing to play sound are run by the same user. You would probably need some daemon to run the /dev/dsp, and that user deamon would have to run under the same user as any native alsa app. Cheers James ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click