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 3c6705e commit 1d995e0Copy full SHA for 1d995e0
aws-cpp-sdk-text-to-speech/source/text-to-speech/TextToSpeechManager.cpp
@@ -152,7 +152,6 @@ 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);
156
unsigned char buffer[BUFF_SIZE];
157
158
std::lock_guard<std::mutex> m(m_driverLock);
@@ -165,7 +164,6 @@ namespace Aws
165
164
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Writing " << read << " bytes to device.");
166
167
successfullyPlayed = m_activeDriver->WriteBufferToDevice(buffer, (std::size_t)read);
168
- amountRead += read;
169
played = successfullyPlayed;
170
}
171
0 commit comments