zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
alAuxEffectSlot.c File Reference
#include "config.h"
#include <stdlib.h>
#include <math.h>
#include "AL/al.h"
#include "AL/alc.h"
#include "alMain.h"
#include "alAuxEffectSlot.h"
#include "alThunk.h"
#include "alError.h"
#include "alSource.h"

Go to the source code of this file.

Functions

static ALenum AddEffectSlotArray (ALCcontext *Context, ALsizei count, const ALuint *slots)
 
AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotf (ALuint effectslot, ALenum param, ALfloat value)
 
AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotfv (ALuint effectslot, ALenum param, const ALfloat *values)
 
AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSloti (ALuint effectslot, ALenum param, ALint value)
 
AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotiv (ALuint effectslot, ALenum param, const ALint *values)
 
AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots (ALsizei n, const ALuint *effectslots)
 
AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots (ALsizei n, ALuint *effectslots)
 
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotf (ALuint effectslot, ALenum param, ALfloat *value)
 
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotfv (ALuint effectslot, ALenum param, ALfloat *values)
 
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSloti (ALuint effectslot, ALenum param, ALint *value)
 
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotiv (ALuint effectslot, ALenum param, ALint *values)
 
AL_API ALboolean AL_APIENTRY alIsAuxiliaryEffectSlot (ALuint effectslot)
 
ALenum InitEffectSlot (ALeffectslot *slot)
 
ALenum InitializeEffect (ALCdevice *Device, ALeffectslot *EffectSlot, ALeffect *effect)
 
ALeffectStateNoneCreate (void)
 
static ALvoid NoneDestroy (ALeffectState *State)
 
static ALboolean NoneDeviceUpdate (ALeffectState *State, ALCdevice *Device)
 
static ALvoid NoneProcess (ALeffectState *State, ALuint SamplesToDo, const ALfloat *RESTRICT SamplesIn, ALfloat(*RESTRICT SamplesOut)[BUFFERSIZE])
 
static ALvoid NoneUpdate (ALeffectState *State, ALCdevice *Device, const ALeffectslot *Slot)
 
ALvoid ReleaseALAuxiliaryEffectSlots (ALCcontext *Context)
 
static ALvoid RemoveEffectSlotArray (ALCcontext *Context, ALeffectslot *slot)
 

Function Documentation

static ALenum AddEffectSlotArray ( ALCcontext Context,
ALsizei  count,
const ALuint slots 
)
static

OpenAL cross platform audio library Copyright (C) 1999-2007 by authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Or go to http://www.gnu.org/copyleft/lgpl.html

Definition at line 452 of file alAuxEffectSlot.c.

References ALCcontext_struct::ActiveEffectSlotCount, ALCcontext_struct::ActiveEffectSlots, AL_NO_ERROR, AL_OUT_OF_MEMORY, assert, i, LockContext(), LookupEffectSlot, ALCcontext_struct::MaxActiveEffectSlots, NULL, realloc, and UnlockContext().

Referenced by alGenAuxiliaryEffectSlots().

AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotf ( ALuint  effectslot,
ALenum  param,
ALfloat value 
)
AL_API ALboolean AL_APIENTRY alIsAuxiliaryEffectSlot ( ALuint  effectslot)
static ALvoid NoneDestroy ( ALeffectState State)
static

Definition at line 394 of file alAuxEffectSlot.c.

References free.

Referenced by NoneCreate().

static ALboolean NoneDeviceUpdate ( ALeffectState State,
ALCdevice Device 
)
static

Definition at line 396 of file alAuxEffectSlot.c.

References AL_TRUE.

Referenced by NoneCreate().

static ALvoid NoneProcess ( ALeffectState State,
ALuint  SamplesToDo,
const ALfloat *RESTRICT  SamplesIn,
ALfloat(*)  SamplesOut[BUFFERSIZE] 
)
static

Definition at line 408 of file alAuxEffectSlot.c.

Referenced by NoneCreate().

static ALvoid NoneUpdate ( ALeffectState State,
ALCdevice Device,
const ALeffectslot Slot 
)
static

Definition at line 402 of file alAuxEffectSlot.c.

Referenced by NoneCreate().

static ALvoid RemoveEffectSlotArray ( ALCcontext Context,
ALeffectslot slot 
)
static