Adding equalizer to the Symbian C++ audio player
m (Protected "CS001136 - Adding equalizer to the audio player" [edit=sysop:move=sysop])
|Line 79:||Line 79:|
Revision as of 15:33, 9 October 2008
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)