• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Help : Bass Booster in Android 2.3

Hello,

I am writing some application for observing BassBooster effect.
But I am facing some problem in observingthe effect in my samsung galaxyS 2.3 version.

Can anybody post some sample code, that how to properly use BassBooster ApI's.

====================================================
Code : which I am currently have.

try {
mBassBoost = new BassBoost(0, mMediaPlayer.getAudioSessionId());

} catch (IllegalArgumentException e) {
Log.e(TAG, "getBassBoost() BassBoost not found exception: " + e);
} catch (UnsupportedOperationException e) {
Log.e(TAG, "getBassBoost() Effect library not loaded exception: " + e);
}



bar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
Log.e(TAG,"I am inside onProgressChanged = " + progress);
mBassBoost.setStrength((short) progress);
}

public void onStartTrackingTouch(SeekBar seekBar) {
}

public void onStopTrackingTouch(SeekBar seekBar) {
}
});
 
Back
Top Bottom