On Mon, 07 Jan 2002, martin f krafft wrote: > also sprach dman <[EMAIL PROTECTED]> [2002.01.07.1736 +0100]: > > Ok, this sounds contrary to what I've heard before. I've heard that > > ALSA, unlike OSS, allows multiple processes to output sound > > simultaneously. How, then, can it allow that if all processes need to > > have /dev/dsp open? Isn't only one process allowed to have /dev/dsp
You open the file in non-blocking, shared mode, and use the session ID of whatever is writing/sending IOCTLs to /dev/whatever to select which hardware channel it goes to, for example. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh