jamie wrote:I just installed the v4.0 OSS and am impressed by it's facilities...
However, there is one major reason why I'm switching back to the default free/oss that is part of FreeBSD:
From what it seems, I still need to specify a different dsp device for each sound source.
In the default FreeBSD version, everything just uses /dev/dsp, and if there is more than one application opening it, so be it -- they mix automatically.
I can fire up many different sound-sources without getting the 'device busy' problem.
It seems that as many sources as I like can open /dev/dsp and they'll be mixed automatically.
Can't OSS 4.0 do this ?
FWIW, I'm using a sound blaster live card.
cheers,
jamie
Hi,
Mixing works but you need to tell each app to use a specific /dev/dsp (type cat /dev/sndstat and find which devices are the VMIX device).
THe automatic opening of devices in FreeBSD doesn't work because it doesn't follow standard Linux or Solaris or SYSV semantics.
Looks like we aren't the only ones asking for this.
http://lists.freebsd.org/pipermail/free ... 16995.html
EVENT_HANDLER() calls don't handle the direction of open whether it's read or write so in the case of OSS when we open /dev/dsp for write, we need to pass the the O_WRONLY flag to open so that it can find which device is a playback device.
The Other problem with EVENT_HANDLER is that it seems to only do it for devices that don't have a /dev node - in OSS we already have the device node in /dev/when the VMIX driver is installed.
So if any FreeBSD kernel hacker is looking here, please contact me.
regards
Dev