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
151 _lastSoundByteArray.resize(0);151 _lastSoundByteArray.resize(0);
152 _lastSoundByteArray.append(buf1, dwSize);152 _lastSoundByteArray.append(buf1, dwSize);
153 153
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);
155 157
156 if (alsoInject) {158 if (alsoInject) {
157 AudioInjectorOptions options;159 AudioInjectorOptions options;