Replace Android system TTS engine (#508)
This commit is contained in:
@@ -86,6 +86,10 @@ class OfflineTts {
|
||||
// Return the sample rate of the generated audio
|
||||
int32_t SampleRate() const;
|
||||
|
||||
// Number of supported speakers.
|
||||
// If it supports only a single speaker, then it return 0 or 1.
|
||||
int32_t NumSpeakers() const;
|
||||
|
||||
private:
|
||||
std::unique_ptr<OfflineTtsImpl> impl_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user