Adding reverb to the Symbian C++ audio player
The S60 platform has several audio enhancement APIs that can be used to modify the audio experience. One of them is the CEnvironmentalReverbUtility API.
This snippet can be self-signed.
The audio player must be fully constructed before constructing the instance of the API. This can be done with the following lines of code:
The following capabilities and libraries are required:
First you need to construct the reverb utility instance:
You can use the following code to query reverb presets:
TArray<TEfEnvironmentalReverbUtilityPreset> allPresets =
To enable an environmental reverb with a desired preset, simply use an index value for the preset list:
// where preSetIndex is
// 0 .. (iEnvironmentalReverbUtility->Presets().Count() – 1)