Here I have new feature Spotlight of Android O.
Google has been improving the audio on Android with Best quality sound and lower latency. Google added quick tool in Android O for developers to perform audio transitions and effects.
Android O will have the native audio transition option. Android O have the VolumeShaper class, which developers can configured with a few lines of code to automatically apply your desired transition based on a volume curve, interpolator type, and duration.
Developers can do anything—fade-in, fade-out, cross fade, ducking, and more. There's also a "replace" method that can be called while AudioShaper is already running, allowing devs to alter the curve from that point. Neat stuff, and coming to your ears soon courtesy of Android O.