File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/AudioTools/CoreAudio/AudioHttp Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ class URLStream : public AbstractURLStream {
72
72
// / Sets the password that will be used for logging in (when calling begin)
73
73
void setPassword (const char * password) override { this ->password = password; }
74
74
75
+ // / Defines the buffer that is used by individual read() or peek() calls
75
76
void setReadBufferSize (int readBufferSize) {
76
77
read_buffer_size = readBufferSize;
77
78
}
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ class URLStreamBuffered : public AbstractURLStream {
178
178
taskStream.setInput (urlStream);
179
179
}
180
180
181
+ // / Defines the buffer that holds the with encoded data
181
182
void setBufferSize (int bufferSize, int bufferCount){
182
183
taskStream.setBufferSize (bufferSize, bufferCount);
183
184
}
@@ -227,6 +228,7 @@ class URLStreamBuffered : public AbstractURLStream {
227
228
urlStream.setPassword (password);
228
229
}
229
230
231
+ // / ESP32 only: PowerSave off (= default setting) is much faster
230
232
void setPowerSave (bool ps) override { urlStream.setPowerSave (ps); }
231
233
232
234
You can’t perform that action at this time.
0 commit comments