mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-23 03:44:26 +00:00
minor change to prev commit
This commit is contained in:
1 parent
059fa6c7c9
commit
52079dddb0
1 file changed
+1
-3
+1
-3
@@ -43,9 +43,7 @@ class TaskSay extends Task {
|
||||
// synthesize all of the text elements
|
||||
let lastUpdated = false;
|
||||
const filepath = (await Promise.all(this.text.map(async(text) => {
|
||||
if (text.startsWith('silence://')) {
|
||||
return `silence_stream://${text.slice(10)}`;
|
||||
}
|
||||
if (text.startsWith('silence_stream://')) return text;
|
||||
const {filePath, servedFromCache} = await synthAudio(stats, {
|
||||
text,
|
||||
vendor,
|
||||
|
||||
Reference in new issue
Block a user