Sound Filter Class.
More...
#include <soundfilter.h>
|
std::shared_ptr< SoundFilter_Impl > | impl |
|
◆ SoundFilter() [1/2]
clan::SoundFilter::SoundFilter |
( |
| ) |
|
|
inline |
Constructs a NULL instance.
◆ SoundFilter() [2/2]
Constructs a sound filter.
- Parameters
-
◆ ~SoundFilter()
clan::SoundFilter::~SoundFilter |
( |
| ) |
|
◆ filter()
void clan::SoundFilter::filter |
( |
float ** | sample_data, |
|
|
int | num_samples, |
|
|
int | channels ) |
Filter callback.
All sound data is passed through this function, which modifies the sample data accordingly to the function of the filter.
The format of the sample data is always 16 bit stereo.
◆ get_provider()
◆ is_null()
bool clan::SoundFilter::is_null |
( |
| ) |
const |
|
inline |
Returns true if this object is invalid.
References impl.
◆ operator!=()
bool clan::SoundFilter::operator!= |
( |
const SoundFilter & | other | ) |
const |
|
inline |
Inequality operator.
References impl.
◆ operator==()
bool clan::SoundFilter::operator== |
( |
const SoundFilter & | other | ) |
const |
|
inline |
Equality operator.
References impl.
◆ throw_if_null()
void clan::SoundFilter::throw_if_null |
( |
| ) |
const |
Throw an exception if this object is invalid.
◆ impl
std::shared_ptr<SoundFilter_Impl> clan::SoundFilter::impl |
The documentation for this class was generated from the following file: