From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 31 Jan 2005 10:07:23 -1000 From: Tim Newsham To: Russ Cox , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] playing music (was RSA) In-Reply-To: Message-ID: References: <2f2448a71d0dbd4ba4954a288604df0b@granite.cias.osakafu-u.ac.jp> <200501311101.j0VB16Z05598@zamenhof.cs.utwente.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Topicbox-Message-UUID: 3abf855e-eace-11e9-9e20-41e7f4b1d025 >> On the sun I have named pipe's /tmp/dev/audio and /tmp/dev/volume >> and two small programs, one to read audio bytes from /tmp/dev/audio >> and shuttle them to the real sun audio device, and another one > > i did that for a while, but on my linux only one app can > have the sound card open at a time, so it got annoying > killing it off and restarting it. this way ajuke can take > care of closing the audio device when it is paused or stopped. > > either way the code has to be written. What I think would be nifty to see (although I don't use plan9port much, and am not volunteering to do myself ;-) would be to have all the filesystem operations get translated into 9p messages and have a server for accessing the native unix filesystem and servers for each of the devices that you'd want to access from plan9ports (ie. /dev/audio). > russ Tim N.