Using patched espeak-ng

This commit is contained in:
Michael Hansen
2023-04-13 14:18:50 -05:00
parent 5b64824eea
commit cbed19e1b4
10 changed files with 50 additions and 23 deletions

View File

@@ -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();
}