aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-07-05 01:23:06 -0700
committerChris Robinson <[email protected]>2014-07-05 01:23:06 -0700
commit47f5e710c23849f43428eb1223db77091cd9cb90 (patch)
tree7413f251051589f1e3412170d5d6cf17a8fed350 /OpenAL32
parent5afc29f65dde15059e2511adbba466c15cc2e3b1 (diff)
Make some more functions static
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMidi.h5
-rw-r--r--OpenAL32/alFontsound.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index 948fc319..082e16d1 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -103,11 +103,6 @@ inline struct ALfontsound *LookupFontsound(ALCdevice *device, ALuint id)
inline struct ALfontsound *RemoveFontsound(ALCdevice *device, ALuint id)
{ return (struct ALfontsound*)RemoveUIntMapKey(&device->FontsoundMap, id); }
-inline struct ALsfmodulator *LookupModulator(ALfontsound *sound, ALuint id)
-{ return (struct ALsfmodulator*)LookupUIntMapKey(&sound->ModulatorMap, id); }
-inline struct ALsfmodulator *RemoveModulator(ALfontsound *sound, ALuint id)
-{ return (struct ALsfmodulator*)RemoveUIntMapKey(&sound->ModulatorMap, id); }
-
void ReleaseALFontsounds(ALCdevice *device);
diff --git a/OpenAL32/alFontsound.c b/OpenAL32/alFontsound.c
index 64c2a227..aaa65c98 100644
--- a/OpenAL32/alFontsound.c
+++ b/OpenAL32/alFontsound.c
@@ -15,8 +15,7 @@
extern inline struct ALfontsound *LookupFontsound(ALCdevice *device, ALuint id);
extern inline struct ALfontsound *RemoveFontsound(ALCdevice *device, ALuint id);
-extern inline struct ALsfmodulator *LookupModulator(ALfontsound *sound, ALuint id);
-extern inline struct ALsfmodulator *RemoveModulator(ALfontsound *sound, ALuint id);
+
static void ALfontsound_Construct(ALfontsound *self);
static void ALfontsound_Destruct(ALfontsound *self);
@@ -25,6 +24,11 @@ static ALsfmodulator *ALfontsound_getModStage(ALfontsound *self, ALsizei stage);
void ALfontsound_setModStagei(ALfontsound *self, ALCcontext *context, ALsizei stage, ALenum param, ALint value);
static void ALfontsound_getModStagei(ALfontsound *self, ALCcontext *context, ALsizei stage, ALenum param, ALint *values);
+static inline struct ALsfmodulator *LookupModulator(ALfontsound *sound, ALuint id)
+{ return (struct ALsfmodulator*)LookupUIntMapKey(&sound->ModulatorMap, id); }
+static inline struct ALsfmodulator *RemoveModulator(ALfontsound *sound, ALuint id)
+{ return (struct ALsfmodulator*)RemoveUIntMapKey(&sound->ModulatorMap, id); }
+
AL_API void AL_APIENTRY alGenFontsoundsSOFT(ALsizei n, ALuint *ids)
{