openal32: Make a bunch of wrapper functions static.
This commit is contained in:
parent
7c676fbfd4
commit
09ba426501
dlls/openal32
|
@ -545,7 +545,7 @@ ALvoid CDECL wine_alBufferData(ALuint bid, ALenum format, const ALvoid* data, AL
|
|||
alBufferData(bid, format, data, size, freq);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alBufferDataStatic(const ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq)
|
||||
static ALvoid CDECL wine_alBufferDataStatic(const ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq)
|
||||
{
|
||||
alBufferDataStatic(bid, format, data, size, freq);
|
||||
}
|
||||
|
@ -689,176 +689,176 @@ ALvoid CDECL wine_alSpeedOfSound(ALfloat value)
|
|||
}
|
||||
|
||||
/* OpenAL EFX extension functions */
|
||||
ALvoid CDECL wine_alGenFilters(ALsizei n, ALuint* filters)
|
||||
static ALvoid CDECL wine_alGenFilters(ALsizei n, ALuint* filters)
|
||||
{
|
||||
alGenFilters(n, filters);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alDeleteFilters(ALsizei n, const ALuint* filters)
|
||||
static ALvoid CDECL wine_alDeleteFilters(ALsizei n, const ALuint* filters)
|
||||
{
|
||||
alDeleteFilters(n, filters);
|
||||
}
|
||||
|
||||
ALboolean CDECL wine_alIsFilter(ALuint fid)
|
||||
static ALboolean CDECL wine_alIsFilter(ALuint fid)
|
||||
{
|
||||
return alIsFilter(fid);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alFilterf(ALuint fid, ALenum param, ALfloat value)
|
||||
static ALvoid CDECL wine_alFilterf(ALuint fid, ALenum param, ALfloat value)
|
||||
{
|
||||
alFilterf(fid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alFilterfv(ALuint fid, ALenum param, const ALfloat* values)
|
||||
static ALvoid CDECL wine_alFilterfv(ALuint fid, ALenum param, const ALfloat* values)
|
||||
{
|
||||
alFilterfv(fid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alFilteri(ALuint fid, ALenum param, ALint value)
|
||||
static ALvoid CDECL wine_alFilteri(ALuint fid, ALenum param, ALint value)
|
||||
{
|
||||
alFilteri(fid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alFilteriv(ALuint fid, ALenum param, const ALint* values)
|
||||
static ALvoid CDECL wine_alFilteriv(ALuint fid, ALenum param, const ALint* values)
|
||||
{
|
||||
alFilteriv(fid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetFilterf(ALuint fid, ALenum param, ALfloat* value)
|
||||
static ALvoid CDECL wine_alGetFilterf(ALuint fid, ALenum param, ALfloat* value)
|
||||
{
|
||||
alGetFilterf(fid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetFilterfv(ALuint fid, ALenum param, ALfloat* values)
|
||||
static ALvoid CDECL wine_alGetFilterfv(ALuint fid, ALenum param, ALfloat* values)
|
||||
{
|
||||
alGetFilterfv(fid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetFilteri(ALuint fid, ALenum param, ALint* value)
|
||||
static ALvoid CDECL wine_alGetFilteri(ALuint fid, ALenum param, ALint* value)
|
||||
{
|
||||
alGetFilteri(fid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetFilteriv(ALuint fid, ALenum param, ALint* values)
|
||||
static ALvoid CDECL wine_alGetFilteriv(ALuint fid, ALenum param, ALint* values)
|
||||
{
|
||||
alGetFilteriv(fid, param, values);
|
||||
}
|
||||
|
||||
|
||||
ALvoid CDECL wine_alGenEffects(ALsizei n, ALuint* effects)
|
||||
static ALvoid CDECL wine_alGenEffects(ALsizei n, ALuint* effects)
|
||||
{
|
||||
alGenEffects(n, effects);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alDeleteEffects(ALsizei n, const ALuint* effects)
|
||||
static ALvoid CDECL wine_alDeleteEffects(ALsizei n, const ALuint* effects)
|
||||
{
|
||||
alDeleteEffects(n, effects);
|
||||
}
|
||||
|
||||
ALboolean CDECL wine_alIsEffect(ALuint eid)
|
||||
static ALboolean CDECL wine_alIsEffect(ALuint eid)
|
||||
{
|
||||
return alIsEffect(eid);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alEffectf(ALuint eid, ALenum param, ALfloat value)
|
||||
static ALvoid CDECL wine_alEffectf(ALuint eid, ALenum param, ALfloat value)
|
||||
{
|
||||
alEffectf(eid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alEffectfv(ALuint eid, ALenum param, const ALfloat* values)
|
||||
static ALvoid CDECL wine_alEffectfv(ALuint eid, ALenum param, const ALfloat* values)
|
||||
{
|
||||
alEffectfv(eid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alEffecti(ALuint eid, ALenum param, ALint value)
|
||||
static ALvoid CDECL wine_alEffecti(ALuint eid, ALenum param, ALint value)
|
||||
{
|
||||
alEffecti(eid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alEffectiv(ALuint eid, ALenum param, const ALint* values)
|
||||
static ALvoid CDECL wine_alEffectiv(ALuint eid, ALenum param, const ALint* values)
|
||||
{
|
||||
alEffectiv(eid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetEffectf(ALuint eid, ALenum param, ALfloat* value)
|
||||
static ALvoid CDECL wine_alGetEffectf(ALuint eid, ALenum param, ALfloat* value)
|
||||
{
|
||||
alGetEffectf(eid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetEffectfv(ALuint eid, ALenum param, ALfloat* values)
|
||||
static ALvoid CDECL wine_alGetEffectfv(ALuint eid, ALenum param, ALfloat* values)
|
||||
{
|
||||
alGetEffectfv(eid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetEffecti(ALuint eid, ALenum param, ALint* value)
|
||||
static ALvoid CDECL wine_alGetEffecti(ALuint eid, ALenum param, ALint* value)
|
||||
{
|
||||
alGetEffecti(eid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetEffectiv(ALuint eid, ALenum param, ALint* values)
|
||||
static ALvoid CDECL wine_alGetEffectiv(ALuint eid, ALenum param, ALint* values)
|
||||
{
|
||||
alGetEffectiv(eid, param, values);
|
||||
}
|
||||
|
||||
|
||||
ALvoid CDECL wine_alGenAuxiliaryEffectSlots(ALsizei n, ALuint* slots)
|
||||
static ALvoid CDECL wine_alGenAuxiliaryEffectSlots(ALsizei n, ALuint* slots)
|
||||
{
|
||||
alGenAuxiliaryEffectSlots(n, slots);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint* slots)
|
||||
static ALvoid CDECL wine_alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint* slots)
|
||||
{
|
||||
alDeleteAuxiliaryEffectSlots(n, slots);
|
||||
}
|
||||
|
||||
ALboolean CDECL wine_alIsAuxiliaryEffectSlot(ALuint sid)
|
||||
static ALboolean CDECL wine_alIsAuxiliaryEffectSlot(ALuint sid)
|
||||
{
|
||||
return alIsAuxiliaryEffectSlot(sid);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat value)
|
||||
static ALvoid CDECL wine_alAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat value)
|
||||
{
|
||||
alAuxiliaryEffectSlotf(sid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alAuxiliaryEffectSlotfv(ALuint sid, ALenum param, const ALfloat* values)
|
||||
static ALvoid CDECL wine_alAuxiliaryEffectSlotfv(ALuint sid, ALenum param, const ALfloat* values)
|
||||
{
|
||||
alAuxiliaryEffectSlotfv(sid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint value)
|
||||
static ALvoid CDECL wine_alAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint value)
|
||||
{
|
||||
alAuxiliaryEffectSloti(sid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alAuxiliaryEffectSlotiv(ALuint sid, ALenum param, const ALint* values)
|
||||
static ALvoid CDECL wine_alAuxiliaryEffectSlotiv(ALuint sid, ALenum param, const ALint* values)
|
||||
{
|
||||
alAuxiliaryEffectSlotiv(sid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat* value)
|
||||
static ALvoid CDECL wine_alGetAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat* value)
|
||||
{
|
||||
alGetAuxiliaryEffectSlotf(sid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetAuxiliaryEffectSlotfv(ALuint sid, ALenum param, ALfloat* values)
|
||||
static ALvoid CDECL wine_alGetAuxiliaryEffectSlotfv(ALuint sid, ALenum param, ALfloat* values)
|
||||
{
|
||||
alGetAuxiliaryEffectSlotfv(sid, param, values);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint* value)
|
||||
static ALvoid CDECL wine_alGetAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint* value)
|
||||
{
|
||||
alGetAuxiliaryEffectSloti(sid, param, value);
|
||||
}
|
||||
|
||||
ALvoid CDECL wine_alGetAuxiliaryEffectSlotiv(ALuint sid, ALenum param, ALint* values)
|
||||
static ALvoid CDECL wine_alGetAuxiliaryEffectSlotiv(ALuint sid, ALenum param, ALint* values)
|
||||
{
|
||||
alGetAuxiliaryEffectSlotiv(sid, param, values);
|
||||
}
|
||||
|
||||
|
||||
/* Thread-local context functions */
|
||||
ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
|
||||
static ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
|
||||
{
|
||||
EnterCriticalSection(&openal_cs);
|
||||
if(alcSetThreadContext(context) == ALC_FALSE)
|
||||
|
@ -878,7 +878,7 @@ ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
|
|||
return ALC_TRUE;
|
||||
}
|
||||
|
||||
ALCcontext* CDECL wine_alcGetThreadContext(ALCvoid)
|
||||
static ALCcontext* CDECL wine_alcGetThreadContext(ALCvoid)
|
||||
{
|
||||
return alcGetThreadContext();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue