Mixing sound

Lars Engels lars.engels at 0x20.net
Wed Oct 4 03:51:37 PDT 2006


On Wed, Oct 04, 2006 at 05:19:29PM +0700, Olivier Nicole wrote:
> Hi, 
> 
> I have an embded application running on 4.11. I cannot upgrade the
> system version. http://www.cs.ait.ac.th/laboratory/door/
> 
> 4.11 was using voxware (pre-OSS).
> 
> I am requested to add limited sound support to it (for blind user).
> 
> Now I am able to play a recorded sound, but some events may need to
> play 2 sounds at same time. How can I do that?

Hi Olivier,

take a look at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

To use multiple channels set:

sysctl hw.snd.pcm0.vchans=4
sysctl hw.snd.maxautovchans=4

If that works for you, you can add it to /etc/sysctl.conf

-Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20061004/55a1990a/attachment.pgp


More information about the freebsd-multimedia mailing list