From 25ca1793892bc6ae2587339e0bd80aef1db8c11a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 28 Sep 2012 03:30:57 -0700 Subject: Decrease the default BUFFERSIZE to 2048 --- OpenAL32/Include/alMain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32') 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 -- cgit v1.2.3