Re: Optimal buffersize and GUI
Jimmy Gervais <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
I doubt it very much. Whenever I set the buffer size at any lower value than 8192, I get an error. 2010/6/1 Fruskus <[email protected]> > > > > Chris Robinson-5 wrote: > > > > > > Any buffer size above 0 can be used, as long as it's a multiple of the > > format's block size. You just need to make sure to have enough buffers so > > that > > they don't all run out before they can be updated, and the amount that is > > depends on the buffers' frequency, how fast your app updates, and the > > device/implementation. > > > > I've haven't been very successful at finding a good buffering/queueing > > method > > to handle low-latency/real-time audio on top of openal (ie. when you need > > to > > play what you just got right now). The more you queue, the more you have > > to > > wait before new samples will be heard, and the less you queue, the bigger > > the > > chance for underruns. > > > > > > 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? > -- > View this message in context: > http://old.nabble.com/Optimal-buffersize-and-GUI-tp28735122p28745655.html > Sent from the OpenAL - User mailing list archive at Nabble.com. > > _______________________________________________ > Openal mailing list > [email protected] > http://opensource.creative.com/mailman/listinfo/openal > _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal