From owner-freebsd-multimedia@FreeBSD.ORG Wed Oct 4 10:51:37 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D967816A416 for ; Wed, 4 Oct 2006 10:51:37 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 788D343D5C for ; Wed, 4 Oct 2006 10:51:37 +0000 (GMT) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 753A9350A3; Wed, 4 Oct 2006 12:51:36 +0200 (CEST) Date: Wed, 4 Oct 2006 12:51:36 +0200 From: Lars Engels To: Olivier Nicole Message-ID: <20061004105136.GB57043@e.0x20.net> References: <200610041019.k94AJTsx084550@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: <200610041019.k94AJTsx084550@banyan.cs.ait.ac.th> X-Editor: VIM - Vi IMproved 7.0 User-Agent: Mutt/1.5.11 Cc: freebsd-multimedia@freebsd.org Subject: Re: Mixing sound X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 10:51:37 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 04, 2006 at 05:19:29PM +0700, Olivier Nicole wrote: > Hi,=20 >=20 > I have an embded application running on 4.11. I cannot upgrade the > system version. http://www.cs.ait.ac.th/laboratory/door/ >=20 > 4.11 was using voxware (pre-OSS). >=20 > I am requested to add limited sound support to it (for blind user). >=20 > 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=3D4 sysctl hw.snd.maxautovchans=3D4 If that works for you, you can add it to /etc/sysctl.conf -Lars --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFI5I4Kc512sD3afgRAmQbAJ41I6mN3qjQweevgT3vTK4mVeTCKgCeJpKV wGKHvU7JxLHE/+getnnxRlE= =4B3l -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t--