Does Android Things on the raspberry pi 3 support a usb microphone already? If not I could attach a microphone to the RPi3 via an ADC (and talk to it via SPI) but can I get Android to see it as a microphone by registering it as a user driver? - I need to record it with MediaRecorder.
As @devunwired commented in the Google's IoT Developers Community: USB accessory support is not currently enabled is the RC1 preview.
While it is possible to talk to an ADC over SPI using the SpiDevice
class, sampling at 44.1khz sounds very challenging with the preview-RC1
implementation of the Peripheral I/O API that doesn't currently expose APIs for DMA/I2S controllers.
Additionally the preview-RC1
implementations of the User-space Driver API currently only support those 3 framework peripheral types:
I would suggest filing feature requests on b.android.com using this template for all those!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With