22 #ifndef FIFE_SOUNDFILTER_H 23 #define FIFE_SOUNDFILTER_H SoundFilterType getFilterType() const
Return the filter type.
void setFilterType(SoundFilterType type)
Sets the filter type.
void setGain(float gain)
Sets filter gain.
The class defines filters.
ALuint getFilterId() const
Return the OpenAL filter handle.
SoundFilter(SoundFilterType type)
Constructor.
float getGainHf() const
Return filter high frequency gain.
bool isEnabled() const
Return true if the filter is enabled, false otherwise.
float getGainLf() const
Return filter low frequency gain.
ALuint m_filter
Filter object id.
void setGainLf(float gain)
Sets filter low frequency gain.
float m_lGain
Low frequency gain.
float getGain() const
Return filter gain.
void setGainHf(float gain)
Sets filter high frequency gain.
~SoundFilter()
Destructor.
SoundFilterType m_type
Filter type.
float m_hGain
High frequency gain.
bool m_enabled
Filter enabled.
SoundFilterType
Sound filter type.
void setEnabled(bool enabled)
Enables or disables the filter.