Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this questionI want to develop a preset equalizer(not graphical) and set like a classical,jazz,normal,rock(these are represented in spinner). Can anbody help me regarding this.
i got the solution for it,Code is shown below here:
Equalizer mEqualizer;
short m=mEqualizer.getNumberOfPresets();
music_styles = new String[m];
for(int k=0; k <m ; k++)
music_styles[k]=mEqualizer.getPresetName((short) k);
// it gives 10 presets by equalizer engine.(normal,classical,rock etc.) By setting through the following code
mEqualizer.usePreset((short)x); where x is preset x<10
精彩评论