'How to write an Android audio effects unit

I want to write an Android app which acts as an audio effects unit for whatever audio is playing on the device. So it would intercept the currently playing audio data and be able to modify it before it's output. Is that possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source