mirror of
https://github.com/danog/termux-api.git
synced 2025-01-22 13:21:10 +01:00
termux-tts-speak: Use STREAM_ALARM (fixes #13)
This commit is contained in:
parent
0efb8bc1ee
commit
6563446522
@ -133,7 +133,7 @@ public class TextToSpeechAPI {
|
|||||||
|
|
||||||
String utteranceId = "utterance_id";
|
String utteranceId = "utterance_id";
|
||||||
Bundle params = new Bundle();
|
Bundle params = new Bundle();
|
||||||
params.putInt(Engine.KEY_PARAM_STREAM, AudioManager.STREAM_SYSTEM);
|
params.putInt(Engine.KEY_PARAM_STREAM, AudioManager.STREAM_ALARM);
|
||||||
params.putString(Engine.KEY_PARAM_UTTERANCE_ID, utteranceId);
|
params.putString(Engine.KEY_PARAM_UTTERANCE_ID, utteranceId);
|
||||||
|
|
||||||
int submittedUtterances = 0;
|
int submittedUtterances = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user