diff options
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -2306,7 +2306,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) //Set output format if(ConfigValueExists(NULL, "frequency")) device->Flags |= DEVICE_FREQUENCY_REQUEST; - device->Frequency = GetConfigValueInt(NULL, "frequency", SWMIXER_OUTPUT_RATE); + device->Frequency = GetConfigValueInt(NULL, "frequency", DEFAULT_OUTPUT_RATE); if(device->Frequency < 8000) device->Frequency = 8000; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 2e6907e6..a6f2a1da 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -306,15 +306,13 @@ extern "C" { #endif -#define SWMIXER_OUTPUT_RATE 44100 +#define DEFAULT_OUTPUT_RATE (44100) #define SPEEDOFSOUNDMETRESPERSEC (343.3f) #define AIRABSORBGAINDBHF (-0.05f) #define LOWPASSFREQCUTOFF (5000) -#define DEFAULT_HEAD_DAMPEN (0.25f) - // Find the next power-of-2 for non-power-of-2 numbers. static __inline ALuint NextPowerOf2(ALuint value) |