aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-06 04:01:53 -0700
committerChris Robinson <[email protected]>2015-10-06 04:01:53 -0700
commit1b51ee8b8797d6780f71a3a36bc5243eb357435a (patch)
tree0088a19a6d6393bc866846d487244f0e06ff23ee /Alc/hrtf.h
parent946b3d5746f5ed678d76f9410bb5a85ad0fd1613 (diff)
Store the Hrtf struct with the corresponding HrtfEntry
Also store the filename with the Hrtf struct so it can be reused for multiple HrtfEntry objects.
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r--Alc/hrtf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index 57b8f9b0..281b8ca5 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -13,6 +13,8 @@ struct Hrtf;
typedef struct HrtfEntry {
al_string name;
al_string filename;
+
+ const struct Hrtf *hrtf;
} HrtfEntry;
TYPEDEF_VECTOR(HrtfEntry, vector_HrtfEntry)