Android Things Microphone Support

Does Android Things on Raspberry support a pi 3 USB mic? If I couldn’t connect the microphone to RPi3 via ADC (and talk to him via SPI), but can I make Android see it as a microphone by registering it as a user driver? - I need to record it using MediaRecorder.

+5
source share
2 answers

As @devunwired commented on in the Google IoT Developer Community : USB accessory support is not currently enabled - preview RC1.

While you can talk to ADCs over SPI using the SpiDevice class, sampling at 44.1khz sounds very difficult using the preview-RC1 implementation of the Peripheral I / O API , which currently does not display the API for DMA / I2S controllers.

In addition, only 3 user-defined peripheral types currently support preview-RC1 APIs for user space :

  • Hid
  • Sensors
  • GPS

I suggest submitting feature requests to b.android.com using this template for all of these <

+3
source

After the release of DP2, Anddroid Things now supports USB audio. You can use a USB microphone or USB speaker.

0
source

Source: https://habr.com/ru/post/1261328/


All Articles