Update comment.
svn-id: r32752
This commit is contained in:
parent
12d7a5e679
commit
5c8a93b486
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ bool OSystem_SDL::setSoundCallback(SoundProc proc, void *param) {
|
|||
_samplesPerSec = SAMPLES_PER_SEC;
|
||||
|
||||
// Determine the sample buffer size. We want it to store enough data for
|
||||
// about 1/32th of a second. Note that it must be a power of two.
|
||||
// about 1/16th of a second. Note that it must be a power of two.
|
||||
// So e.g. at 22050 Hz, we request a sample buffer size of 2048.
|
||||
int samples = 8192;
|
||||
while (16 * samples >= _samplesPerSec) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue