zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
alEffect.h File Reference
#include "alMain.h"

Go to the source code of this file.

Classes

struct  ALeffect
 

Macros

#define ALeffect_GetParamf(x, c, p, v)   ((x)->GetParamf((x),(c),(p),(v)))
 
#define ALeffect_GetParamfv(x, c, p, v)   ((x)->GetParamfv((x),(c),(p),(v)))
 
#define ALeffect_GetParami(x, c, p, v)   ((x)->GetParami((x),(c),(p),(v)))
 
#define ALeffect_GetParamiv(x, c, p, v)   ((x)->GetParamiv((x),(c),(p),(v)))
 
#define ALeffect_SetParamf(x, c, p, v)   ((x)->SetParamf((x),(c),(p),(v)))
 
#define ALeffect_SetParamfv(x, c, p, v)   ((x)->SetParamfv((x),(c),(p),(v)))
 
#define ALeffect_SetParami(x, c, p, v)   ((x)->SetParami((x),(c),(p),(v)))
 
#define ALeffect_SetParamiv(x, c, p, v)   ((x)->SetParamiv((x),(c),(p),(v)))
 

Typedefs

typedef struct ALeffect ALeffect
 

Enumerations

enum  {
  EAXREVERB = 0, REVERB, ECHO, MODULATOR,
  DEDICATED, MAX_EFFECTS
}
 

Functions

ALenum InitEffect (ALeffect *effect)
 
static __inline ALboolean IsReverbEffect (ALenum type)
 
ALvoid LoadReverbPreset (const char *name, ALeffect *effect)
 
ALvoid ReleaseALEffects (ALCdevice *device)
 

Variables

ALboolean DisabledEffects [MAX_EFFECTS]
 
ALboolean EmulateEAXReverb
 
ALfloat ReverbBoost
 

Macro Definition Documentation

#define ALeffect_GetParamf (   x,
  c,
  p,
  v 
)    ((x)->GetParamf((x),(c),(p),(v)))

Definition at line 99 of file alEffect.h.

Referenced by alGetEffectf().

#define ALeffect_GetParamfv (   x,
  c,
  p,
  v 
)    ((x)->GetParamfv((x),(c),(p),(v)))

Definition at line 100 of file alEffect.h.

Referenced by alGetEffectfv().

#define ALeffect_GetParami (   x,
  c,
  p,
  v 
)    ((x)->GetParami((x),(c),(p),(v)))

Definition at line 97 of file alEffect.h.

Referenced by alGetEffecti().

#define ALeffect_GetParamiv (   x,
  c,
  p,
  v 
)    ((x)->GetParamiv((x),(c),(p),(v)))

Definition at line 98 of file alEffect.h.

Referenced by alGetEffectiv().

#define ALeffect_SetParamf (   x,
  c,
  p,
  v 
)    ((x)->SetParamf((x),(c),(p),(v)))

Definition at line 94 of file alEffect.h.

Referenced by alEffectf().

#define ALeffect_SetParamfv (   x,
  c,
  p,
  v 
)    ((x)->SetParamfv((x),(c),(p),(v)))

Definition at line 95 of file alEffect.h.

Referenced by alEffectfv().

#define ALeffect_SetParami (   x,
  c,
  p,
  v 
)    ((x)->SetParami((x),(c),(p),(v)))

Definition at line 92 of file alEffect.h.

Referenced by alEffecti().

#define ALeffect_SetParamiv (   x,
  c,
  p,
  v 
)    ((x)->SetParamiv((x),(c),(p),(v)))

Definition at line 93 of file alEffect.h.

Referenced by alEffectiv().

Typedef Documentation

typedef struct ALeffect ALeffect

Enumeration Type Documentation

anonymous enum
Enumerator
EAXREVERB 
REVERB 
ECHO 
MODULATOR 
DEDICATED 
MAX_EFFECTS 

Definition at line 10 of file alEffect.h.

Function Documentation

ALenum InitEffect ( ALeffect effect)

Definition at line 1181 of file alEffect.c.

References AL_EFFECT_NULL, AL_NO_ERROR, and InitEffectParams().

Referenced by alc_initconfig(), and alGenEffects().

static __inline ALboolean IsReverbEffect ( ALenum  type)
static

Definition at line 102 of file alEffect.h.

References AL_EFFECT_EAXREVERB, and AL_EFFECT_REVERB.

Referenced by CalcSourceParams().

ALvoid LoadReverbPreset ( const char *  name,
ALeffect effect 
)

Definition at line 1459 of file alEffect.c.

References ALeffect::AirAbsorptionGainHF, AL_EFFECT_EAXREVERB, AL_EFFECT_NULL, AL_EFFECT_REVERB, ALeffect::DecayHFLimit, ALeffect::DecayHFRatio, ALeffect::DecayLFRatio, ALeffect::DecayTime, ALeffect::Density, ALeffect::Diffusion, DisabledEffects, EAXREVERB, ALeffect::EchoDepth, ALeffect::EchoTime, EFXEAXREVERBPROPERTIES::flAirAbsorptionGainHF, EFXEAXREVERBPROPERTIES::flDecayHFRatio, EFXEAXREVERBPROPERTIES::flDecayLFRatio, EFXEAXREVERBPROPERTIES::flDecayTime, EFXEAXREVERBPROPERTIES::flDensity, EFXEAXREVERBPROPERTIES::flDiffusion, EFXEAXREVERBPROPERTIES::flEchoDepth, EFXEAXREVERBPROPERTIES::flEchoTime, EFXEAXREVERBPROPERTIES::flGain, EFXEAXREVERBPROPERTIES::flGainHF, EFXEAXREVERBPROPERTIES::flGainLF, EFXEAXREVERBPROPERTIES::flHFReference, EFXEAXREVERBPROPERTIES::flLateReverbDelay, EFXEAXREVERBPROPERTIES::flLateReverbGain, EFXEAXREVERBPROPERTIES::flLateReverbPan, EFXEAXREVERBPROPERTIES::flLFReference, EFXEAXREVERBPROPERTIES::flModulationDepth, EFXEAXREVERBPROPERTIES::flModulationTime, EFXEAXREVERBPROPERTIES::flReflectionsDelay, EFXEAXREVERBPROPERTIES::flReflectionsGain, EFXEAXREVERBPROPERTIES::flReflectionsPan, EFXEAXREVERBPROPERTIES::flRoomRolloffFactor, ALeffect::Gain, ALeffect::GainHF, ALeffect::GainLF, ALeffect::HFReference, i, EFXEAXREVERBPROPERTIES::iDecayHFLimit, InitEffectParams(), ALeffect::LateReverbDelay, ALeffect::LateReverbGain, ALeffect::LateReverbPan, ALeffect::LFReference, ALeffect::ModulationDepth, ALeffect::ModulationTime, ALeffect::ReflectionsDelay, ALeffect::ReflectionsGain, ALeffect::ReflectionsPan, REVERB, ALeffect::Reverb, reverblist, reverblistsize, ALeffect::RoomRolloffFactor, TRACE, and WARN.

Referenced by alc_initconfig().

ALvoid ReleaseALEffects ( ALCdevice device)

Variable Documentation

ALboolean DisabledEffects[MAX_EFFECTS]

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 35 of file alEffect.c.

Referenced by alc_initconfig(), alEffecti(), and LoadReverbPreset().

ALboolean EmulateEAXReverb

Definition at line 171 of file alcReverb.c.

Referenced by alc_initconfig(), and ReverbUpdate().

ALfloat ReverbBoost

Definition at line 168 of file alcReverb.c.

Referenced by alc_initconfig(), ReverbUpdate(), and Update3DPanning().