mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
TtsService: add wrappers for the new voice APIs.
This adds method declarations for the new voice APIs, forwarding them to the default implementations.
This commit is contained in:
@@ -198,6 +198,26 @@ public class TtsService extends TextToSpeechService {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onGetDefaultVoiceNameFor(String language, String country, String variant) {
|
||||
return super.onGetDefaultVoiceNameFor(language, country, variant);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<android.speech.tts.Voice> onGetVoices() {
|
||||
return super.onGetVoices();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int onIsValidVoiceName(String name) {
|
||||
return super.onIsValidVoiceName(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int onLoadVoice(String name) {
|
||||
return super.onLoadVoice(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
Log.i(TAG, "Received stop request.");
|
||||
|
||||
Reference in New Issue
Block a user