On Thu, 18 Mar 2004, James Courtier-Dutton wrote:I thought of that, but with that you just get different problems.
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
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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel