| ID | CS001133 | Creation date | October 9, 2008 |
| Platform | S60 3rd Edition | Tested on devices | Nokia N95 |
| Category | Symbian C++ | Subcategory | Audio |
| Keywords (APIs, classes, methods, functions): CBassBoost |
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:
iMdaAudioPlayerUtility = CMdaAudioPlayerUtility::NewFilePlayerL(aFileName, *this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
The following capabilities and libraries are required:
CAPABILITY NONE
LIBRARY BassBoostEffect.lib
HEADER bassboostbase.h
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:
iBassBoost->EnableL(); iBassBoost->ApplyL();
To set the bass boost off, just call following line of code:
iBassBoost->DisableL();
CS001130 - Adding doppler effects to the audio player
CS001131 - Adding source location effects to the audio player
CS001132 - Adding listener's location effects to the audio player
CS001134 - Adding stereo widening to the audio player
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| javax.microedition.media.Mediaexception:Deviceerror | gupta.akhil21 | Mobile Java Media (Graphics & Sounds) | 4 | 2008-10-14 18:12 |
| Playing MP3 on Nokia 6230? | lancew | Mobile Java General | 2 | 2004-09-20 18:49 |
| Audio recording | javierclaveria | Mobile Java Media (Graphics & Sounds) | 4 | 2007-06-21 13:40 |
| Audio on S60 3rd_FP2? | arielbm | Audio | 1 | 2008-06-22 20:31 |
| opening file in Drm player leaves with -28 | suterma | Symbian Media (Graphics & Sounds) | 11 | 2006-08-07 17:00 |