Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 14:06:48 +0200 (SAT)
From:      Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To:        des@flood.ping.uio.no (Dag-Erling Smorgrav)
Cc:        CGiordano@ids.net, freebsd-current@FreeBSD.ORG
Subject:   Re: newpcm
Message-ID:  <200001181206.OAA10354@oskar.dev.nanoteq.co.za>
In-Reply-To: <xzpsnzwobem.fsf@flood.ping.uio.no> from Dag-Erling Smorgrav at "Jan 17, 2000  6:28:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Hi ...

> <URL:http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=245121+249137+/usr/local/www/db/text/1998/freebsd-multimedia/19980215.freebsd-multimedia>;
> 
> 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: <URL:http://www.opensound.com/pguide/audio2.html>.

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




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