mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-18 13:16:03 +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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user