mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#SOUND/MSRS - small fix to delete the "--ssml" tag if google provider is used in conjunction with a file based sound output.
This commit is contained in:
parent
1661872bf8
commit
2a6df8434a
@ -1313,6 +1313,7 @@ function MSRS:PlaySoundFile(Soundfile, Delay)
|
|||||||
|
|
||||||
-- Append file.
|
-- Append file.
|
||||||
command=command..' --file="'..tostring(soundfile)..'"'
|
command=command..' --file="'..tostring(soundfile)..'"'
|
||||||
|
command=string.gsub(command,"--ssml","-h")
|
||||||
|
|
||||||
-- Execute command.
|
-- Execute command.
|
||||||
self:_ExecCommand(command)
|
self:_ExecCommand(command)
|
||||||
|
|||||||
@ -292,6 +292,7 @@ end
|
|||||||
|
|
||||||
do -- Text-To-Speech
|
do -- Text-To-Speech
|
||||||
|
|
||||||
|
---
|
||||||
-- @type SOUNDTEXT
|
-- @type SOUNDTEXT
|
||||||
-- @field #string ClassName Name of the class
|
-- @field #string ClassName Name of the class
|
||||||
-- @field #string text Text to speak.
|
-- @field #string text Text to speak.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user