From owner-freebsd-current Tue Jan 18 4:10: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from oskar.dev.nanoteq.co.za (oskar.dev.nanoteq.co.za [196.7.114.5]) by hub.freebsd.org (Postfix) with ESMTP id 13492151A1 for ; Tue, 18 Jan 2000 04:09:57 -0800 (PST) (envelope-from rbezuide@oskar.dev.nanoteq.co.za) Received: (from rbezuide@localhost) by oskar.dev.nanoteq.co.za (8.9.3/8.9.0) id OAA10354; Tue, 18 Jan 2000 14:06:48 +0200 (SAT) From: Reinier Bezuidenhout Message-Id: <200001181206.OAA10354@oskar.dev.nanoteq.co.za> Subject: Re: newpcm In-Reply-To: from Dag-Erling Smorgrav at "Jan 17, 2000 6:28:33 pm" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Tue, 18 Jan 2000 14:06:48 +0200 (SAT) Cc: CGiordano@ids.net, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ... > > > I (and many others, I'm sure) would be very grateful if somebody would > implement Luigi's first suggestion, to wit: I get the hint :) > > > 1) complete the SETFRAGMENT (or whatever it is called) implementation > > (not hard, you just need to reduce the blocksize in the dma buffer > > descriptor and reset the dma channel; I had a look at the current pcm in -current ... there is code to change the second snd buffer size when it is requested ... but I'm not exactly sure what is the difference between the first and second buffer .... I stil have to find out how to "reset" the dma channel ... because I don't see that that is done anywhere .... Anyone with some help ???? :) > > The ioctl in question is SNDCTL_DSP_SETFRAGMENT. Its semantics are > described in the "Making audio complicated" section of the OSS > Programmer's Guide: . I'm having a look at this too :) Reinier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message