CL_SoundFilterProvider Class Reference
[clanSound Audio Mixing]

Sound Filter Interface. More...

#include <soundfilter_provider.h>

List of all members.

Public Member Functions


virtual ~CL_SoundFilterProvider ()

virtual void destroy ()=0
 Destroys the provider.
virtual void filter (float **sample_data, int num_samples, int channels)=0
 Filter callback.

Detailed Description

Sound Filter Interface.

Constructor & Destructor Documentation

virtual CL_SoundFilterProvider::~CL_SoundFilterProvider (  )  [inline, virtual]

Member Function Documentation

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.

The documentation for this class was generated from the following file: