Showing the changes to interface/src/scripting/TTSScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -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; |