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 c792704 commit 75e00d1Copy full SHA for 75e00d1
src/AudioTools/Streams.h
@@ -171,6 +171,12 @@ class GeneratedSoundStream : public Stream {
171
return generator_ptr->readBytes((uint8_t*)buffer, length);
172
}
173
174
+ /// privide the data as byte stream
175
+ size_t readBytes( uint8_t *buffer, size_t length) {
176
+ LOGD("GeneratedSoundStream::readBytes: %zu", length);
177
+ return generator_ptr->readBytes(buffer, length);
178
+ }
179
+
180
/// start the processing
181
void begin() {
182
LOGD(__FUNCTION__);
0 commit comments