mirror of
https://github.com/danog/termux-api.git
synced 2025-01-22 13:21:10 +01:00
termux-tts-speak: Use STREAM_MUSIC as default stream (#67)
This fixes #66.
This commit is contained in:
parent
cff02a5614
commit
56b5a1257c
@ -52,7 +52,7 @@ public class TextToSpeechAPI {
|
||||
final String speechEngine = intent.getStringExtra("engine");
|
||||
final float speechPitch = intent.getFloatExtra("pitch", 1.0f);
|
||||
|
||||
int streamToUseInt = AudioManager.STREAM_NOTIFICATION;
|
||||
int streamToUseInt = AudioManager.STREAM_MUSIC;
|
||||
String streamToUseString = intent.getStringExtra("stream");
|
||||
if (streamToUseString != null) {
|
||||
switch (streamToUseString) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user