Sound Filter Interface. More...
#include <soundfilter_provider.h>
Public Member Functions | |
Construction | |
virtual | ~CL_SoundFilterProvider () |
Operations | |
virtual void | destroy ()=0 |
Destroys the provider. | |
virtual void | filter (float **sample_data, int num_samples, int channels)=0 |
Filter callback. |
Sound Filter Interface.
virtual CL_SoundFilterProvider::~CL_SoundFilterProvider | ( | ) | [inline, virtual] |
virtual void CL_SoundFilterProvider::destroy | ( | ) | [pure virtual] |
Destroys the provider.
virtual void CL_SoundFilterProvider::filter | ( | float ** | sample_data, | |
int | num_samples, | |||
int | channels | |||
) | [pure virtual] |
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.