aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-07 04:35:49 -0700
committerChris Robinson <[email protected]>2011-05-07 04:35:49 -0700
commitc9ac4f06ff48343526686e7828941cc1d04ba455 (patch)
treeea4b92c44bbccddcfafece7fdc3faa110e33272c
parent674b14faa398c7f6f9fa1ac43344ceab019df791 (diff)
Remove an unused macro and rename another
-rw-r--r--Alc/ALc.c2
-rw-r--r--OpenAL32/Include/alMain.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 35dcd25d..b9e54e13 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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)