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,7 +1313,8 @@ function MSRS:PlaySoundFile(Soundfile, Delay)
|
||||
|
||||
-- Append file.
|
||||
command=command..' --file="'..tostring(soundfile)..'"'
|
||||
|
||||
command=string.gsub(command,"--ssml","-h")
|
||||
|
||||
-- Execute command.
|
||||
self:_ExecCommand(command)
|
||||
|
||||
|
||||
@ -291,7 +291,8 @@ do -- Sound File
|
||||
end
|
||||
|
||||
do -- Text-To-Speech
|
||||
|
||||
|
||||
---
|
||||
-- @type SOUNDTEXT
|
||||
-- @field #string ClassName Name of the class
|
||||
-- @field #string text Text to speak.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user