aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-18 17:54:45 -0700
committerChris Robinson <[email protected]>2010-05-18 17:54:45 -0700
commit2d46a1001e5ff81276666cb7eec292396710122d (patch)
tree7cedecfb8dc9b258b42a87c9f7ba457033e43ee4 /OpenAL32/Include
parent4edd7fe6476dc83fae162ab694984b17924968c3 (diff)
Use a map for the filter list
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alFilter.h2
-rw-r--r--OpenAL32/Include/alMain.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index 2b5d3e94..9f420d35 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -89,8 +89,6 @@ typedef struct ALfilter
// Index to itself
ALuint filter;
-
- struct ALfilter *next;
} ALfilter;
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 9b1bcca9..aad409dc 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -361,9 +361,8 @@ struct ALCdevice_struct
// Map of Effects for this device
UIntMap EffectMap;
- // Linked List of Filters for this device
- struct ALfilter *FilterList;
- ALuint FilterCount;
+ // Map of Filters for this device
+ UIntMap FilterMap;
// Linked List of Databuffers for this device
struct ALdatabuffer *DatabufferList;