History

enable warnings as errors

HifiExperiments committed 1 year ago

Commit 6ff5e171 parent a7805e737 files · +89 −85Browse files

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

Unified · Split

interface/src/scripting/TTSScriptingInterface.cpp+3−3
@@ -13,7 +13,7 @@ · 12 unmodified lines
1313 #include "avatar/AvatarManager.h"
1414
1515 TTSScriptingInterface::TTSScriptingInterface() {
16−#ifdef WIN32
16+#ifdef _WIN32
1717 //
1818 // Create text to speech engine
1919 //
@@ -46,7 +46,7 @@ TTSScriptingInterface::TTSScriptingInterface() { · 26 unmodified lines
4646 TTSScriptingInterface::~TTSScriptingInterface() {
4747 }
4848
49−#ifdef WIN32
49+#ifdef _WIN32
5050 class ReleaseOnExit {
5151 public:
5252 ReleaseOnExit(IUnknown* p) : m_p(p) {}
@@ -72,7 +72,7 @@ void TTSScriptingInterface::updateLastSoundAudioInjector() { · 19 unmodified lines
7272 }
7373
7474 void TTSScriptingInterface::speakText(const QString& textToSpeak) {
75−#ifdef WIN32
75+#ifdef _WIN32
7676 WAVEFORMATEX fmt;
7777 fmt.wFormatTag = WAVE_FORMAT_PCM;
7878 fmt.nSamplesPerSec = AudioConstants::SAMPLE_RATE;