gotev / android-speech

Android speech recognition and text to speech made easy
http://gotev.github.io/android-speech/
Apache License 2.0
473 stars 156 forks source link

Choose the audio stream #22

Closed alxmrs closed 5 years ago

alxmrs commented 6 years ago

It would be nice to be able to choose the audio stream for the Speech instance. This would enable usage of the TTS system on bluetooth devices. Something like:

Speech.getInstance().setAudioStream(AudioManager.STREAM_VOICE_CALL);

I'll submit a PR with this enhancement.

alxmrs commented 6 years ago

Added PR #23

gotev commented 5 years ago

Fixed by #23

gotev commented 5 years ago

Feature available in release 1.4.0