aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-28 03:30:57 -0700
committerChris Robinson <[email protected]>2012-09-28 03:30:57 -0700
commit25ca1793892bc6ae2587339e0bd80aef1db8c11a (patch)
tree66713ec7d6c09b93391b091573404b6977f07979
parent8bd0592e3f42cfecf8fd9e66816fcf67da3d388b (diff)
Decrease the default BUFFERSIZE to 2048
-rw-r--r--OpenAL32/Include/alMain.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 7b57a772..24b24ca7 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -595,12 +595,12 @@ enum DeviceType {
* for mixing, as well as the maximum number of samples per mixing iteration.
*
* The mixer requires being able to do two samplings per mixing loop. With the
- * cubic resampler (which requires 3 padding samples), this limits a 4096
- * buffer size to about 4092. This means that buffer_freq*source_pitch cannot
- * exceed device_freq*4092 for a 32-bit buffer.
+ * cubic resampler (which requires 3 padding samples), this limits a 2048
+ * buffer size to about 2044. This means that buffer_freq*source_pitch cannot
+ * exceed device_freq*2044 for a 32-bit buffer.
*/
#ifndef BUFFERSIZE
-#define BUFFERSIZE 4096
+#define BUFFERSIZE 2048
#endif