[mactts] Allow spaces within voice name (#8985)
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/8990/head
parent
370c367bc3
commit
93b9662797
|
@ -136,7 +136,7 @@ class MacTTSAudioStream extends FixedLengthAudioStream {
|
|||
|
||||
stringBuffer.append("say");
|
||||
|
||||
stringBuffer.append(" --voice=" + this.voice.getLabel());
|
||||
stringBuffer.append(" --voice=\"" + this.voice.getLabel() + "\"");
|
||||
stringBuffer.append(" --output-file=" + outputFile);
|
||||
stringBuffer.append(" --file-format=" + this.audioFormat.getContainer());
|
||||
stringBuffer.append(" --data-format=LEI" + audioFormat.getBitDepth() + "@" + audioFormat.getFrequency());
|
||||
|
|
Loading…
Reference in New Issue