This class represents a sound that can be modified depending on a given impulse response.
More...
#include <Equalizer.h>
|
| Equalizer (std::shared_ptr< ISound > sound, std::shared_ptr< Buffer > bufEQ, int externalSizeEq, float maxFreqEq, int sizeConversion) |
| Creates a new Equalizer.
|
|
virtual std::shared_ptr< IReader > | createReader () |
| Creates a reader for playback of the sound source.
|
|
virtual | ~ISound () |
| Destroys the sound.
|
|
|
int | external_size_eq |
|
int | filter_length |
|
float | maxFreqEq |
|
This class represents a sound that can be modified depending on a given impulse response.
◆ Equalizer()
Equalizer::Equalizer |
( |
std::shared_ptr< ISound > | sound, |
|
|
std::shared_ptr< Buffer > | bufEQ, |
|
|
int | externalSizeEq, |
|
|
float | maxFreqEq, |
|
|
int | sizeConversion ) |
Creates a new Equalizer.
- Parameters
-
sound | The sound that will be equalized |
◆ createReader()
virtual std::shared_ptr< IReader > Equalizer::createReader |
( |
| ) |
|
|
virtual |
Creates a reader for playback of the sound source.
- Returns
- A pointer to an IReader object or nullptr if there has been an error.
- Exceptions
-
Exception | An exception may be thrown if there has been a more unexpected error during reader creation. |
Implements ISound.
The documentation for this class was generated from the following file: