We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb50191 commit 54992e1Copy full SHA for 54992e1
aws-cpp-sdk-text-to-speech/source/text-to-speech/TextToSpeechManager.cpp
@@ -152,7 +152,7 @@ namespace Aws
152
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Audio retrieved from Polly. " << result.GetContentType() << " with "
153
<< result.GetRequestCharacters() << " characters syntesized");
154
155
- std::streamsize amountRead(0);
+ // std::streamsize amountRead(0);
156
unsigned char buffer[BUFF_SIZE];
157
158
std::lock_guard<std::mutex> m(m_driverLock);
@@ -165,7 +165,7 @@ namespace Aws
165
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Writing " << read << " bytes to device.");
166
167
successfullyPlayed = m_activeDriver->WriteBufferToDevice(buffer, (std::size_t)read);
168
- amountRead += read;
+ // amountRead += read;
169
played = successfullyPlayed;
170
}
171
0 commit comments