43 #ifndef _audioeffectshandler_h
44 #define _audioeffectshandler_h
46 #include "Audio/effect.h"
47 #include "Audio/filter.h"
48 #include "Audio/effectparameters.h"
virtual ReverbParameters GetReverbEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Reverb Effect.
This is a struct containing all the parameters needed to describe a Reverb effect.
This is a struct containing all the parameters needed to describe an echo effect. ...
virtual void AddCompressorEffectPreset(const String &Name, const CompressorParameters &Setting)=0
Adds a preset for the Compressor Audio Effect type.
This is an interface class for the creation, destruction, and overall management of audio effects...
virtual iFilter * GetFilter(const UInt32 Index) const =0
Gets an Audio::iFilter instance by index.
This is a struct containing all the parameters needed to describe a vocal morpher effect...
virtual iFilter * CreateFilter()=0
Creates an Audio Filter for use with iSound instances.
bool Boole
Generally acts a single bit, true or false.
virtual DistortionParameters GetDistortionEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Distortion Effect.
virtual void DestroyAllEffects()=0
Destroys all Audio::iEffect instances being stored by this handler.
FilterType
Used by the iFilter class to describe what type of filter it is.
This is a struct containing all the parameters needed to describe a pitch shift effect.
virtual EqualizerParameters GetEqualizerEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Equalizer Effect.
virtual void AddRingModulatorEffectPreset(const String &Name, const RingModulatorParameters &Setting)=0
Adds a preset for the Ring Modulator Audio Effect type.
EffectType
Used by the iEffect class to describe what type of effect it is.
This is a struct containing all the parameters needed to describe an flanger effect.
virtual ChorusParameters GetChorusEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Chorus Effect.
This is a struct containing all the parameters needed to describe a Distortion effect.
virtual void AddEAXReverbEffectPreset(const String &Name, const EAXReverbParameters &Setting)=0
Adds a preset for the EAX Reverb Audio Effect type.
virtual void DestroyAllFilters()=0
Destroys all iFilter instances being stored by this handler.
virtual UInt32 GetNumEffects() const =0
Gets the number of Audio::iEffect instances being stored by this handler.
This is an interface class for an effect that can be applied to a sound.
This is a struct containing all the parameters needed to describe a frequency shift effect...
virtual EAXReverbParameters GetEAXReverbEffectPreset(const String &Name) const =0
Returns a previously registered preset for the EAX Reverb Effect.
virtual void RemoveAllEffectPresets(const EffectType Type)=0
Removes all effect presets for a specific effect type.
virtual FlangerParameters GetFlangerEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Flanger Effect.
virtual void AddChorusEffectPreset(const String &Name, const ChorusParameters &Setting)=0
Adds a preset for the Chorus Audio Effect type.
virtual UInt32 GetNumFilters() const =0
Gets the number of iFilter instances being stored by this handler.
uint32_t UInt32
An 32-bit unsigned integer.
virtual ~iEffectsHandler()
Class destructor.
virtual void DestroyFilter(iFilter *ToBeDestroyed)=0
Destroys a single iFilter instance.
virtual void AddPitchShifterEffectPreset(const String &Name, const PitchShifterParameters &Setting)=0
Adds a preset for the Pitch Shifter Audio Effect type.
virtual void AddReverbEffectPreset(const String &Name, const ReverbParameters &Setting)=0
Adds a preset for the Reverb Audio Effect type.
iEffectsHandler()
Class constructor.
This is a struct containing all the parameters needed to describe a compressor effect.
virtual Boole IsEffectSupported(const EffectType Type) const =0
Checks to see if the given effect type is supported.
virtual void AddEqualizerEffectPreset(const String &Name, const EqualizerParameters &Setting)=0
Adds a preset for the Equalizer Audio Effect type.
virtual void AddAutowahEffectPreset(const String &Name, const AutowahParameters &Setting)=0
Adds a preset for the Autowah Audio Effect type.
virtual VocalMorpherParameters GetVocalMorpherEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Vocal Morpher Effect.
This is a struct containing all the parameters needed to describe an EAX Reverb effect.
virtual Boole EffectPresetExists(const EffectType Type, const String &Name)=0
Gets whether or not an effect preset exists within this handler.
This is a struct containing all the parameters needed to describe an equalizer effect.
virtual AutowahParameters GetAutowahEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Autowah Effect.
virtual void DestroyEffect(iEffect *ToBeDestroyed)=0
Destroys a single Audio::iEffect instance.
The bulk of the engine components go in this namspace.
virtual void AddDistortionEffectPreset(const String &Name, const DistortionParameters &Setting)=0
Adds a preset for the Distortion Audio Effect type.
virtual void AddVocalMorpherEffectPreset(const String &Name, const VocalMorpherParameters &Setting)=0
Adds a preset for the Vocal Morpher Audio Effect type.
This is a struct containing all the parameters needed to describe a Chorus effect.
virtual CompressorParameters GetCompressorEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Compressor Effect.
virtual iEffect * GetEffect(const UInt32 Index) const =0
Gets an Audio::iEffect instance by index.
This is an interface class for the application of filters to audio playback.
virtual Boole IsFilterSupported(const FilterType Type) const =0
Checks to see if the given filter type is supported.
virtual PitchShifterParameters GetPitchShifterEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Pitch Shifter Effect.
virtual void RemoveEffectPreset(const EffectType Type, const String &Name)=0
Removes a previously registered effect preset.
virtual void AddFlangerEffectPreset(const String &Name, const FlangerParameters &Setting)=0
Adds a preset for the Flanger Audio Effect type.
virtual EchoParameters GetEchoEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Echo Effect.
This is a struct containing all the parameters needed to describe a ring modulation effect...
This is a struct containing all the parameters needed to describe an Auto-Wah effect.
virtual FrequencyShiftParameters GetFrequencyShiftEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Frequency Shift Effect.
std::string String
A datatype used to a series of characters.
virtual RingModulatorParameters GetRingModulatorEffectPreset(const String &Name) const =0
Returns a previously registered preset for the Ring Modulator Effect.
virtual void AddFrequencyShiftEffectPreset(const String &Name, const FrequencyShiftParameters &Setting)=0
Adds a preset for the Frequency Shift Audio Effect type.
virtual iEffect * CreateEffect()=0
Creates an Audio Effect for use with Audio::Sound instances.
virtual void AddEchoEffectPreset(const String &Name, const EchoParameters &Setting)=0
Adds a preset for the Echo Audio Effect type.