clan::SoundFilterProvider Class Reference - ClanLib SDK
Description: clan::SoundFilterProvider Class Reference

Public Member Functions | List of all members
clan::SoundFilterProvider Class Referenceabstract
clanSound Audio Mixing

Sound Filter Interface. More...

`#include <soundfilter_provider.h>`

## Public Member Functions
virtual | ~SoundFilterProvider ()
virtual void | filter (float **sample_data, int num_samples, int channels)=0
| Filter callback.

## Detailed Description

Sound Filter Interface.

## Constructor & Destructor Documentation

## ◆ ~SoundFilterProvider()

virtual clan::SoundFilterProvider::~SoundFilterProvider | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ filter()

virtual void clan::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:

- soundfilter_provider.h