From 312330dbaae546bd0331c213dd55499f056091e7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 22 Nov 2014 20:52:08 -0800 Subject: Rework HRTF decision logic This way takes into account a new stereo-mode config option, which when set to "headphones" will default to using HRTF. Eventually the device will also be able to specify if headphones are being used. --- OpenAL32/Include/alMain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index c90a58cd..4cff96ae 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -847,6 +847,7 @@ int ConfigValueStr(const char *blockName, const char *keyName, const char **ret) 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); +int ConfigValueBool(const char *blockName, const char *keyName, int *ret); void SetRTPriority(void); -- cgit v1.2.3