From: Alexander Monakov Date: Sat, 18 Dec 2010 09:45:31 +0000 (+0300) Subject: More static X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=03e4e9fccebe5faf404de1b8d641ad1a981112bc;p=lugaru.git More static --- diff --git a/Source/openal_wrapper.cpp b/Source/openal_wrapper.cpp index a87b80c..b4f5266 100644 --- a/Source/openal_wrapper.cpp +++ b/Source/openal_wrapper.cpp @@ -295,7 +295,7 @@ static unsigned int OPENAL_GetLoopMode(int channel) return OPENAL_LOOP_OFF; } -AL_API signed char OPENAL_IsPlaying(int channel) +static signed char OPENAL_IsPlaying(int channel) { if (!initialized) return false; if ((channel < 0) || (channel >= num_channels)) return false; diff --git a/Source/openal_wrapper.h b/Source/openal_wrapper.h index 815bff0..9f9c41b 100644 --- a/Source/openal_wrapper.h +++ b/Source/openal_wrapper.h @@ -72,7 +72,6 @@ AL_API void OPENAL_3D_Listener_SetAttributes(const float *pos, const float *vel, AL_API signed char OPENAL_3D_SetAttributes(int channel, const float *pos, const float *vel); AL_API signed char OPENAL_Init(int mixrate, int maxsoftwarechannels, unsigned int flags); AL_API void OPENAL_Close(); -AL_API signed char OPENAL_IsPlaying(int channel); AL_API OPENAL_SAMPLE *OPENAL_Sample_Load(int index, const char *name_or_data, unsigned int mode, int offset, int length); AL_API void OPENAL_Sample_Free(OPENAL_SAMPLE *sptr); AL_API signed char OPENAL_SetFrequency(int channel, int freq);