Re: Optimal buffersize and GUI

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Tuesday, June 01, 2010 11:25:52 am Fruskus wrote:
> So, there is no "optimal buffer size". There is not justification for using
> one value or another, it just has to be a multiple of the block size, and
> big enough for avoiding underruns. It's that right?

Right.

FWIW, OpenAL Soft has an in-progress extension called AL_EXTX_buffer_sub_data, 
which lets you modify the buffer while it's playing. It allows you to rewrite 
the buffer just ahead of where it's being read from, giving lower latencies 
than buffer queues provides.

It's not very useful when you're simply playing a pre-mixed non-interactive 
stream (where having a large buffer queue isn't an issue), or if you can't 
rewrite audio data you've already written, but it can be useful in some cases.  
I hope to have it done for the next version, since it's been pretty stable 
spec-wise.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.