From 03e4e9fccebe5faf404de1b8d641ad1a981112bc Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Sat, 18 Dec 2010 12:45:31 +0300 Subject: [PATCH] More static --- Source/openal_wrapper.cpp | 2 +- Source/openal_wrapper.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5