2

I want to write a PCM byte array in the RecognizerIntent so that it gets processed by it. Therefore I need an additional HAL that accepts byte arrays and writes them into a new AudioSource. As stated here Redirecting audio / creating alternate sound paths in Android this is hardware-dependent but could someone provide one example how to create this additional audio source?

Community
  • 1
  • 1
user2212461
  • 3,105
  • 8
  • 49
  • 87

1 Answers1

3

Its not possible without another hardware, as RecognizerIntent is basically a blackbox. But you could try to simulate a second microphone

user3521269
  • 458
  • 3
  • 9