aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-18 16:16:55 -0700
committerChris Robinson <[email protected]>2011-09-18 16:16:55 -0700
commit7e06a10f73d5955de7bba35da09e5941cee56dc8 (patch)
tree4e2394246a4912ee762c7a01fa365cceade58e50 /OpenAL32/Include
parentd46db2f648e7d00ae138fb98bd0ee49014c501a6 (diff)
Return int and float config values through a parameter
This allows the getter functions to return whether or not the option exists without a separate call and check.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h5
1 files changed, 3 insertions, 2 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);