Full Android Studio project that demonstrates how to use the audio input and pipe it to the audio output.
Download the whole project directory and open in the latest Android Studio (v3.0)
The only "gotcha" for running the demo is setting permissions via App Info
Long press on app icon
Select Permissions
Enable access to the microphone