It's working!

This commit is contained in:
Zach Fox 2018-10-10 16:19:11 -07:00
parent f1446532d0
commit d8c9712dd2

View file

@ -59,7 +59,7 @@ private:
void SpeechScriptingInterface::speakText(const QString& textToSpeak) {
WAVEFORMATEX fmt;
fmt.wFormatTag = WAVE_FORMAT_PCM;
fmt.nSamplesPerSec = 44100;
fmt.nSamplesPerSec = 24000;
fmt.wBitsPerSample = 16;
fmt.nChannels = 1;
fmt.nBlockAlign = fmt.nChannels * fmt.wBitsPerSample / 8;