From 2eaa10fc213dd60b197129da17b431b3d7e9f1d5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Apr 2017 12:27:30 -0700 Subject: Load HRTF files as needed Currently only applies to external files, rather than embedded datasets. Also, HRTFs aren't unloaded after being loaded, until library shutdown. --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3a26bff2..4807e07d 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -637,7 +637,7 @@ typedef struct DirectHrtfState { typedef struct EnumeratedHrtf { al_string name; - const struct HrtfEntry *hrtf; + struct HrtfEntry *hrtf; } EnumeratedHrtf; TYPEDEF_VECTOR(EnumeratedHrtf, vector_EnumeratedHrtf) -- cgit v1.2.3