Added progress for callback of tts generator (#712)
Co-authored-by: leohwang <leohwang@360converter.com>
This commit is contained in:
@@ -55,7 +55,7 @@ struct GeneratedAudio {
|
||||
class OfflineTtsImpl;
|
||||
|
||||
using GeneratedAudioCallback =
|
||||
std::function<void(const float * /*samples*/, int32_t /*n*/)>;
|
||||
std::function<void(const float * /*samples*/, int32_t /*n*/, float /*progress*/)>;
|
||||
|
||||
class OfflineTts {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user