AudioManager
Application managing audio behavior on smartphones running Android.
Once headset is plugged to phone all audio playback automatically redirected to headset.
The application allows to disable this kind of redirecting and resume audio playback on the smartphone speaker. Once phone get into incoming or outgoing call mode the playback will be automatically redirected to headset and get back to speaker once the call ends.