From 2d46a1001e5ff81276666cb7eec292396710122d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 18 May 2010 17:54:45 -0700 Subject: Use a map for the filter list --- OpenAL32/Include/alFilter.h | 2 -- OpenAL32/Include/alMain.h | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'OpenAL32/Include') 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; -- cgit v1.2.3