#include <C4SoundModifiers.h>
Public Types | |
enum | Type { C4SMT_None = 0x0 , C4SMT_Reverb = 0x1 , C4SMT_Echo = 0x4 , C4SMT_Equalizer = 0xc , C4SMT_Max = 0xc } |
Public Member Functions | |
C4SoundModifierReverb (C4PropList *in_props) | |
void | Update () override |
void | Release () |
void | AddRef () |
void | DelRef () |
int32_t | GetRefCount () const |
const C4PropList * | GetProps () const |
void | ApplyTo (ALuint source) |
Protected Member Functions | |
float | GetFloatProp (C4PropertyName key, float ratio, float default_value) |
bool | GetBoolProp (C4PropertyName key, bool default_value) |
Protected Attributes | |
ALuint | effect |
ALuint | slot |
Definition at line 82 of file C4SoundModifiers.h.
|
inherited |
Enumerator | |
---|---|
C4SMT_None | |
C4SMT_Reverb | |
C4SMT_Echo | |
C4SMT_Equalizer | |
C4SMT_Max |
Definition at line 29 of file C4SoundModifiers.h.
C4SoundModifierReverb::C4SoundModifierReverb | ( | C4PropList * | in_props | ) |
Definition at line 116 of file C4SoundModifiers.cpp.
References C4SoundModifier::effect.
|
inlineinherited |
Definition at line 69 of file C4SoundModifiers.h.
Referenced by C4SoundInstance::Create(), C4SoundModifierList::SetGlobalModifier(), and C4SoundInstance::SetModifier().
|
inherited |
Definition at line 93 of file C4SoundModifiers.cpp.
References C4SoundModifier::slot.
Referenced by C4SoundInstance::SetModifier(), and C4SoundInstance::Start().
|
inlineinherited |
Definition at line 70 of file C4SoundModifiers.h.
Referenced by C4SoundInstance::Clear(), C4SoundModifierList::SetGlobalModifier(), and C4SoundInstance::SetModifier().
|
protectedinherited |
Definition at line 109 of file C4SoundModifiers.cpp.
References C4Value::_getPropList(), and C4PropList::GetPropertyInt().
Referenced by Update().
|
protectedinherited |
Definition at line 102 of file C4SoundModifiers.cpp.
References C4Value::_getPropList(), and C4PropList::GetPropertyInt().
Referenced by Update(), C4SoundModifierEcho::Update(), and C4SoundModifierEqualizer::Update().
|
inlineinherited |
Definition at line 73 of file C4SoundModifiers.h.
References C4Value::_getPropList().
|
inlineinherited |
Definition at line 71 of file C4SoundModifiers.h.
Referenced by C4SoundModifierList::Clear().
|
inlineinherited |
Definition at line 66 of file C4SoundModifiers.h.
References C4Value::Set0().
Referenced by C4SoundModifierList::Clear().
|
overridevirtual |
Reimplemented from C4SoundModifier.
Definition at line 124 of file C4SoundModifiers.cpp.
References Application, C4SoundModifier::effect, C4SoundModifier::GetBoolProp(), C4SoundModifier::GetFloatProp(), C4Application::MusicSystem, P_Reverb_Air_Absorption_GainHF, P_Reverb_Decay_HFLimit, P_Reverb_Decay_HFRatio, P_Reverb_Decay_Time, P_Reverb_Density, P_Reverb_Diffusion, P_Reverb_Gain, P_Reverb_GainHF, P_Reverb_Late_Reverb_Delay, P_Reverb_Late_Reverb_Gain, P_Reverb_Reflections_Delay, P_Reverb_Reflections_Gain, P_Reverb_Room_Rolloff_Factor, C4MusicSystem::SelectContext(), and C4SoundModifier::Update().
|
protectedinherited |
Definition at line 53 of file C4SoundModifiers.h.
Referenced by C4SoundModifier::C4SoundModifier(), C4SoundModifierEcho::C4SoundModifierEcho(), C4SoundModifierEqualizer::C4SoundModifierEqualizer(), C4SoundModifierReverb(), C4SoundModifier::Update(), Update(), C4SoundModifierEcho::Update(), C4SoundModifierEqualizer::Update(), and C4SoundModifier::~C4SoundModifier().
|
protectedinherited |
Definition at line 53 of file C4SoundModifiers.h.
Referenced by C4SoundModifier::ApplyTo(), C4SoundModifier::C4SoundModifier(), C4SoundModifier::Update(), and C4SoundModifier::~C4SoundModifier().