mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-11-22 15:48:54 +01:00
Voice announcements: if TTS is not available play a sound file.
Fixes #862.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package de.dennisguse.opentracks.util;
|
||||
|
||||
import android.speech.tts.TextToSpeech;
|
||||
|
||||
public class TTSUtils {
|
||||
|
||||
private TTSUtils() {
|
||||
}
|
||||
|
||||
public static int getTTSStream() {
|
||||
return TextToSpeech.Engine.DEFAULT_STREAM;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user