Attaching Equalizer to Android global audio output

2019-06-28 01:43发布

问题:

I am planning to make an equalizer app for Android. I noticed in the Equalizer class documentation here, it says:

NOTE: attaching an Equalizer to the global audio output mix by use of session 0 is deprecated.

I see from other questions that although this is deprecated, it was still possible in certain Android versions; however the most recent answer is from 2013.

Is it still possible to attach an Equalizer to global audio via session 0 in the latest Android version (5.1 Lollipop)? If not, what is the recommended way to apply an equalizer to global audio going forward?