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
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
发布评论
评论(1)
我得到了解决方案,代码如下所示:
i got the solution for it,Code is shown below here: