From 1b51ee8b8797d6780f71a3a36bc5243eb357435a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 6 Oct 2015 04:01:53 -0700 Subject: 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. --- Alc/hrtf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/hrtf.h') 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) -- cgit v1.2.3