mirror of
https://github.com/pstrueb/piper.git
synced 2026-05-04 04:58:01 +00:00
Using patched espeak-ng
This commit is contained in:
@@ -30,7 +30,7 @@ struct Voice {
|
||||
void initialize(std::filesystem::path cwd) {
|
||||
const char *dataPath = NULL;
|
||||
|
||||
auto cwdDataPath = cwd.append("espeak-ng-data");
|
||||
auto cwdDataPath = std::filesystem::absolute(cwd.append("espeak-ng-data"));
|
||||
if (std::filesystem::is_directory(cwdDataPath)) {
|
||||
dataPath = cwdDataPath.c_str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user