开发者

Is Android's Visualizer class's handling of media volume inconsistent across different devices?

I have made a music visualizer app for Android. While developing on my HTC Legend (running Android 2.2), I noticed that setting the "media volume" of the phone had no effect on the output of the Visalizer class, i.e. I always got the full-volume amplitude data of the playing music, regardless of the volume setting, which was great because that's precisely what I want.

I have recently purchased an Asus EEE transformer tablet, running Android 3.2, and now the user-set volume DOES impact the volume of the data I get back from the Visualiser class.

Does anyone know what the official behaviour should be? I'd hope for volume indep开发者_高级运维endence, but the evidence I've seen points to inconsistent behaviour across different devices... Is this a driver issue, or has the behaviour changed in 3.2?

Thanks! Nils


Refere this link here. I think that you are not enable equalizer and visualizer for same seesion id.Accroding to me Audio effects need equalizer engine enable for audio modifications settings.Otherwise it gives higher values and it will be affected by media volume also.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜