Android audio_route library
The audio_route library allows mixer paths to be loaded from an XML file and can control a mixer via tinyalsa. It contains useful functions that can be factored out of the audio HAL.
Imported from https://android.googlesource.com/platform/system/media Intended for use on Linux userspace.