History

Whitelist TTS scripting interface to TTS app, which is now a default script

Zach Fox committed 8 years ago

Commit 1d899491 parent 1eca1bf7 files · +363 −6Browse files

Showing the changes to interface/src/scripting/TTSScriptingInterface.cpp (1 of 7 files). Show all

Unified · Split

interface/src/scripting/TTSScriptingInterface.cpp+3−1
@@ -151,7 +151,9 @@ void TTSScriptingInterface::speakText(const QString& textToSpeak, · 150 unmodified lines
151151 _lastSoundByteArray.resize(0);
152152 _lastSoundByteArray.append(buf1, dwSize);
153153
154− emit ttsSampleCreated(_lastSoundByteArray, newChunkSize, timerInterval);
154+ // Commented out because this doesn't work completely :)
155+ // Obviously, commenting this out isn't fit for production, but it's fine for a test PR
156+ //emit ttsSampleCreated(_lastSoundByteArray, newChunkSize, timerInterval);
155157
156158 if (alsoInject) {
157159 AudioInjectorOptions options;