1
0
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:
Fredrik Fornwall 2016-04-20 00:31:01 +02:00
parent 0efb8bc1ee
commit 6563446522

View File

@ -133,7 +133,7 @@ public class TextToSpeechAPI {
String utteranceId = "utterance_id";
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);
int submittedUtterances = 0;