diff options
author | Chris Robinson <[email protected]> | 2015-05-15 23:28:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-05-15 23:28:03 -0700 |
commit | 0f51b6df4ba9f93048cd9aa10dcd845527ae9cc6 (patch) | |
tree | b753ff4fafc468bf6da3ec5d4696ab55c289c411 /OpenAL32/Include/alMain.h | |
parent | c6dc1376e41174fc975f6edeeb855bd8898a936f (diff) |
Add an HRTF status query
This can report the status of HRTF, specifying if it's enabled or not and why
(currently only reports unsupported formats, but this may be extended).
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 361af851..fb2d810e 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -42,6 +42,10 @@ #ifndef ALC_SOFT_HRTF #define ALC_SOFT_HRTF 1 #define ALC_HRTF_SOFT 0x1992 +#define ALC_HRTF_STATUS_SOFT 0x1993 +#define ALC_HRTF_DISABLED_SOFT 0x0000 +#define ALC_HRTF_ENABLED_SOFT 0x0001 +#define ALC_HRTF_UNSUPPORTED_FORMAT_SOFT 0x0002 #endif #ifndef ALC_SOFT_midi_interface @@ -688,6 +692,7 @@ struct ALCdevice_struct /* HRTF filter tables */ const struct Hrtf *Hrtf; + ALCenum Hrtf_Status; enum HrtfMode Hrtf_Mode; HrtfState Hrtf_State[MAX_OUTPUT_CHANNELS]; HrtfParams Hrtf_Params[MAX_OUTPUT_CHANNELS]; |