From owner-freebsd-multimedia Tue Apr 25 8:32:30 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from cis.ohio-state.edu (mail.cis.ohio-state.edu [164.107.115.5]) by hub.freebsd.org (Postfix) with ESMTP id A23CF37BDBC; Tue, 25 Apr 2000 08:32:18 -0700 (PDT) (envelope-from matey@cis.ohio-state.edu) Received: from epsilon.cis.ohio-state.edu (matey@epsilon.cis.ohio-state.edu [164.107.112.10]) by cis.ohio-state.edu (8.9.1/8.9.1) with ESMTP id LAA25590; Tue, 25 Apr 2000 11:32:16 -0400 (EDT) Received: (from matey@localhost) by epsilon.cis.ohio-state.edu (8.9.1/8.9.1) id LAA24595; Tue, 25 Apr 2000 11:32:16 -0400 (EDT) Date: Tue, 25 Apr 2000 11:32:09 -0400 From: Alexander Matey To: Maxim Sobolev Cc: Thomas Gellekum , Cameron Grant , freebsd-multimedia@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/sound/pcm channel.c channel.h dsp.c Message-ID: <20000425113209.A33037@cis.ohio-state.edu> References: <200004231809.LAA27975@freefall.freebsd.org> <39055176.25A5AE68@altavista.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <39055176.25A5AE68@altavista.net>; from sobomax@altavista.net on Tue, Apr 25, 2000 at 11:04:06AM +0300 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Apr 25, 2000 at 11:04:06AM +0300, Maxim Sobolev wrote: > > > cg 2000/04/23 11:09:19 PDT > > > > > > Modified files: > > > sys/dev/sound/pcm channel.c channel.h dsp.c > > > > Which reminds me: could someone implement the SNDCTL_DSP_CHANNELS > > ioctl? The audio module in the next Python release wants it and I > > know nothing about sound. > > You can replace it with SOUND_PCM_WRITE_CHANNELS (I've tested it in SDL1.1 and > it seems work). Anyway AFAIK tehere is no drivers in FreeBSD supporting more > than 2 channels. Actually there is one - t4dwave.c. By looking at the source I can say that it claims to support 4 playback channels. But the thing is that right now one isn't able to use more than 1 of these channels anyway because of the way sound.c constructs device minors. I sent cg@ description of the problem along with a simple patch that fixes this about 3 weeks ago but he seems to be unresponsive so far. > > -Maxim > -- lx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message