开发者

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

开发者 https://www.devze.com 2023-04-06 13:02 出处:网络
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 Vis

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

精彩评论

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