Adding equalizer to the Symbian C++ audio player
S60 has several audio enhancement APIs that can be used to modify the audio experience. One of them is the CAudioEqualizerUtility 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 equalizer instance:
Use the following code to query equalizer presets:
TArray<TEfAudioEqualizerUtilityPreset> allPresets =
Use the following code to apply an equalizer preset:
// where preSetIndex is 0 to (iAudioEqualizerUtility->Presets().Count() – 1)