In the past I'm sure that we supported the mixing of audio in the kernel
so that multiple applications could open /dev/dsp at the same time. Was
this a function of the audio card driver, or of the audio subsystem?
Currently on my new machine I don't get any mixing, and applications
fail to open /dev/dsp if it's already open by something.
The current hardware is:
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xee00, 0xe000 irq 9 bufsz 16384
kld
snd_ich (1p/1r/0v channels duplex default)
Am I imagining that this use to the case or isn't it enabled by default?
Joe
--
Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory.
================-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050721/2888bc14/attachment.bin
Josef, On Thu, 21 Jul 2005, Josef Karthauser wrote:> In the past I'm sure that we supported the mixing of audio in the kernel > so that multiple applications could open /dev/dsp at the same time. Was > this a function of the audio card driver, or of the audio subsystem? > Currently on my new machine I don't get any mixing, and applications > fail to open /dev/dsp if it's already open by something. > > The current hardware is: > > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: <Intel ICH4 (82801DB)> at io 0xee00, 0xe000 irq 9 bufsz 16384 kld > snd_ich (1p/1r/0v channels duplex default) > > Am I imagining that this use to the case or isn't it enabled by default?It's not on by default, AFAIK, but setting a couple of sysctls will allow you to have more than one program playing sound at once. # sysctl hw.snd.pcm0.vchans=4 # sysctl hw.snd.maxautovchans=4 Check out http://www.freebsd.org/doc/handbook/sound-setup.html#AEN8582 (the section titled 'Utilizing Multiple Sound Sources'). Cheers, David Adam zanchey@ucc.gu.uwa.edu.au