I would like to know whether some tool exists to create a virtual microphone on Android.
For example, when I connect my headset, my phone uses the microphone on the headset. Instead, I want to be able to:
- specify a file to be read as the virtual microphone's input stream
- alternatively, specify the input from another device
I've heard these sort of things are impossible due to hardware restrictions, but I feel like there should be a way to create virtual devices which can emulate a real microphone.
What library, API, app, or software can I use to create a virtual microphone in Android?