#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 | |
C4SoundModifierEqualizer (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 102 of file C4SoundModifiers.h.
|
inherited |
Enumerator | |
---|---|
C4SMT_None | |
C4SMT_Reverb | |
C4SMT_Echo | |
C4SMT_Equalizer | |
C4SMT_Max |
Definition at line 29 of file C4SoundModifiers.h.
C4SoundModifierEqualizer::C4SoundModifierEqualizer | ( | C4PropList * | in_props | ) |
Definition at line 168 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 C4SoundModifierReverb::Update().
|
protectedinherited |
Definition at line 102 of file C4SoundModifiers.cpp.
References C4Value::_getPropList(), and C4PropList::GetPropertyInt().
Referenced by C4SoundModifierReverb::Update(), C4SoundModifierEcho::Update(), and 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 176 of file C4SoundModifiers.cpp.
References Application, C4SoundModifier::effect, C4SoundModifier::GetFloatProp(), C4Application::MusicSystem, P_Equalizer_High_Cutoff, P_Equalizer_High_Gain, P_Equalizer_Low_Cutoff, P_Equalizer_Low_Gain, P_Equalizer_Mid1_Center, P_Equalizer_Mid1_Gain, P_Equalizer_Mid1_Width, P_Equalizer_Mid2_Center, P_Equalizer_Mid2_Gain, P_Equalizer_Mid2_Width, C4MusicSystem::SelectContext(), and C4SoundModifier::Update().
|
protectedinherited |
Definition at line 53 of file C4SoundModifiers.h.
Referenced by C4SoundModifier::C4SoundModifier(), C4SoundModifierEcho::C4SoundModifierEcho(), C4SoundModifierEqualizer(), C4SoundModifierReverb::C4SoundModifierReverb(), C4SoundModifier::Update(), C4SoundModifierReverb::Update(), C4SoundModifierEcho::Update(), Update(), and C4SoundModifier::~C4SoundModifier().
|
protectedinherited |
Definition at line 53 of file C4SoundModifiers.h.
Referenced by C4SoundModifier::ApplyTo(), C4SoundModifier::C4SoundModifier(), C4SoundModifier::Update(), and C4SoundModifier::~C4SoundModifier().