aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-05 11:29:58 -0700
committerChris Robinson <[email protected]>2017-04-05 11:29:58 -0700
commitf76dea0c0321ebcc0f5a8838f1826309463cd2c1 (patch)
treee024ff6d69d45baae9dc733515799f443066dc49 /OpenAL32/Include
parente7ca61e8b585d1546cb92ddcf0cfcd1fe084484c (diff)
Store the loaded hrtf entry container in the enumerated hrtf entry
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 9c1ef099..3a26bff2 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -358,6 +358,7 @@ extern "C" {
#endif
struct Hrtf;
+struct HrtfEntry;
#define DEFAULT_OUTPUT_RATE (44100)
@@ -633,12 +634,12 @@ typedef struct DirectHrtfState {
} Chan[];
} DirectHrtfState;
-typedef struct HrtfEntry {
+typedef struct EnumeratedHrtf {
al_string name;
- const struct Hrtf *hrtf;
-} HrtfEntry;
-TYPEDEF_VECTOR(HrtfEntry, vector_HrtfEntry)
+ const struct HrtfEntry *hrtf;
+} EnumeratedHrtf;
+TYPEDEF_VECTOR(EnumeratedHrtf, vector_EnumeratedHrtf)
/* Maximum delay in samples for speaker distance compensation. */
@@ -702,7 +703,7 @@ struct ALCdevice_struct
DirectHrtfState *Hrtf;
al_string HrtfName;
const struct Hrtf *HrtfHandle;
- vector_HrtfEntry HrtfList;
+ vector_EnumeratedHrtf HrtfList;
ALCenum HrtfStatus;
/* UHJ encoder state */