Calibrating Buffer Size and Count

Kip Warner <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hey everyone,

A few questions on buffers and sources.

Besides hearing the obvious stutter and clicks in a streamable source
and then updating the buffer size and number of buffers accordingly for
it, is there any way to reasonably determine their optimal size and
number at runtime?

If playback stutters, does one generally increase or decrease the size
of the buffers?

If playback stutters, does one generally increase or decrease the number
of buffers?

Would one way be to use a default size and number, and if the buffer
queue becomes empty at any point, increase the size and number?

In games, sound effects are generally buffered in full, while anything
longer, like music, is streamed?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkv/UDEACgkQLXnfK7bii20/8ACcC+tVuM/zm5Lax5UCMRxSeq4+
5H4AnjFw5S+MJQf5Mu5lsLDj5WCTqsX8
=5L6n
-----END PGP SIGNATURE-----
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.