Hello, I need some help in writing a simple app.
The app needs to route audio from mic to headset - so a hearing impaired person can use volume up to jack up the volume.
I'll take care of things such as UI or granting permissions etc.
I just need a code snippet where a MediaPlayer object (headset) uses MediaRecorder object (mic) as data source.

Thanks in advance for any help.