From owner-freebsd-multimedia Fri Dec 22 5:12: 5 2000 From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 22 05:12:04 2000 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (Postfix) with SMTP id 9517A37B400 for ; Fri, 22 Dec 2000 05:12:03 -0800 (PST) Received: from sonic.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Fri, 22 Dec 2000 13:11:36 +0000 From: Orion Hodson X-Organisation: University College London, CS Dept. X-Phone: +44 (0)20 7679 3704 To: Darrell Anderson Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: testing 2 pcm play channels? In-reply-to: Your message of "Thu, 21 Dec 2000 15:11:56 EST." <200012212011.PAA09944@curly.cs.duke.edu> Date: Fri, 22 Dec 2000 13:11:36 +0000 Message-ID: <4364.977490696@cs.ucl.ac.uk> Sender: O.Hodson@cs.ucl.ac.uk Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org <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