Adding bass boost 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 CBassBoost 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:
iBassBoost = CBassBoost::NewL(*iMdaAudioPlayerUtility);
To set the bass boost on, you just need to call the following two lines of code:
To set the bass boost off, just call following line of code: