diff options
author | Chris Robinson <[email protected]> | 2014-07-05 01:23:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-07-05 01:23:06 -0700 |
commit | 47f5e710c23849f43428eb1223db77091cd9cb90 (patch) | |
tree | 7413f251051589f1e3412170d5d6cf17a8fed350 /OpenAL32/alFontsound.c | |
parent | 5afc29f65dde15059e2511adbba466c15cc2e3b1 (diff) |
Make some more functions static
Diffstat (limited to 'OpenAL32/alFontsound.c')
-rw-r--r-- | OpenAL32/alFontsound.c | 8 |
1 files changed, 6 insertions, 2 deletions
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) { |