How can I make TextToSpeech to speak a text with max volume and restore original volume after speak end?
- by HelloCW
I save the current volume both STREAM_RING and STREAM_MUSIC before sTts.get().speak(s, TextToSpeech.QUEUE_ADD, null), I hope the TextToSpeech can speak a text with max volume,
but in fact I find the TextToSpeech speak the text with current volume, it seems that sTts.get().speak is asynchronous.
How can I make TextToSpeech to speak a text with max…