diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 | ||||
-rw-r--r-- | OpenAL32/alSource.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 67974cb3..ba7fb54e 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -669,9 +669,10 @@ void ReadALConfig(void); void FreeALConfig(void); int ConfigValueExists(const char *blockName, const char *keyName); const char *GetConfigValue(const char *blockName, const char *keyName, const char *def); -int GetConfigValueInt(const char *blockName, const char *keyName, int def); -float GetConfigValueFloat(const char *blockName, const char *keyName, float def); int GetConfigValueBool(const char *blockName, const char *keyName, int def); +int ConfigValueInt(const char *blockName, const char *keyName, int *ret); +int ConfigValueUInt(const char *blockName, const char *keyName, unsigned int *ret); +int ConfigValueFloat(const char *blockName, const char *keyName, float *ret); void SetRTPriority(void); diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index a093af4e..f98efc20 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -33,7 +33,7 @@ #include "alAuxEffectSlot.h" -enum Resampler DefaultResampler; +enum Resampler DefaultResampler = RESAMPLER_DEFAULT; const ALsizei ResamplerPadding[RESAMPLER_MAX] = { 0, /* Point */ 1, /* Linear */ |