Testing request: GIANT Free snd_solo(4)

Hans Petter Selasky hselasky at c2i.net
Thu Jan 5 03:58:04 PST 2006


On Thursday 05 January 2006 05:35, Ariff Abdullah wrote:
> [CC: freebsd-multimedia@]
>
> On Thu, 5 Jan 2006 04:23:34 +0100
>

> >
> > Results: When I set hw.snd.pcm0.buffersize to 4096, the sound chokes
> > (without any additional load). I took 8192 instead.
>

The sound system should be a little more intelligent, and scale the buffer 
size according to the sample rate used, instead of using a fixed buffer size. 

8000 bytes of buffer at  8kHz gives 1 second of delay.
8000 bytes of buffer at 96kHz gives 83ms of delay.

I would recommend 2*50ms or 2*25ms of buffer.

> I'm assuming the default buffersize (16k) is fair enough.
>

--HPS


More information about the freebsd-multimedia mailing list