Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 13:11:36 +0000
From:      Orion Hodson <O.Hodson@cs.ucl.ac.uk>
To:        Darrell Anderson <anderson@cs.duke.edu>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: testing 2 pcm play channels?
Message-ID:  <4364.977490696@cs.ucl.ac.uk>
In-Reply-To: Your message of "Thu, 21 Dec 2000 15:11:56 EST." <200012212011.PAA09944@curly.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
<200012212011.PAA09944@curly.cs.duke.edu>Darrell Anderson writes:
> I'm working on a sound driver (Maestro-3i) including multiple pcm play
> channels, but so far have only been able to test one (e.g., amp with
> /dev/dsp).  Can someone suggest a way to test 2 or more play channels?

Look at pcm_register and pcm_addchan in sound.c and dsp_open in dsp.c.

Once the extra channels are added in the device attach function, and
nodes are made in /dev (manually in 4.2R) for dsp0.0 dsp0.1 dsp0.3 etc
different apps can get a playback channel by opening a different one
of these.
 
> Also, /dev/sequencer doesn't work.  Can anyone tell me how to support it,
> or is this a general problem?  I'm using 4.2-RELEASE.

	netscape http://www.freebsd.org/~tanimura/newmidi

Cheers
- Orion.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4364.977490696>