Android: Equalizer - getNumberOfBands()

不问归期 提交于 2019-12-06 03:09:28

问题


According with http://developer.android.com/reference/android/media/audiofx/Equalizer.html#getNumberOfBands(), we can see the description of method getNumberOfBands() - Gets the number of frequency bands supported by the Equalizer engine.

Do this depend of device or android version???

Thanks.


回答1:


I guess it most probably depends on Device.




回答2:


Frequency depends on hardware So according to my knowledge it must depend on Device.

And you can also test(check) it by upgrading your phone. test number of bands before upgrade and after upgrade if NumberOfBands are same then I am absolutely right.




回答3:


I was curios about this too. But I'm not that sure if this depends on the device type. I tested this on a Samsung Galaxy S8+ and on a Samsung J5, and on both devices I get 5 bands of frequency, and I don't know why. Another thing is on the J5 in the Google Play Music app I have 7 freq bands, and on the SGS8+ in the same app(Google Play Music) there are 9 freq bands. I don't know why but if anyone knows why this is happening please let us know.



来源:https://stackoverflow.com/questions/14639085/android-equalizer-getnumberofbands

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!