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 68dbabc commit b1fb359Copy full SHA for b1fb359
src/AudioTools/CoreAudio/AudioHttp/URLStream.h
@@ -135,15 +135,15 @@ class URLStream : public AbstractURLStream {
135
}
136
137
virtual int available() override {
138
- if (!active || !request) return 0;
+ if (!active) return 0;
139
140
int result = request.available();
141
LOGD("available: %d", result);
142
return result;
143
144
145
virtual size_t readBytes(uint8_t* data, size_t len) override {
146
147
148
int read = request.read((uint8_t*)&data[0], len);
149
if (read < 0) {
0 commit comments