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 {
7272 // / Sets the password that will be used for logging in (when calling begin)
7373 void setPassword (const char * password) override { this ->password = password; }
7474
75+ // / Defines the buffer that is used by individual read() or peek() calls
7576 void setReadBufferSize (int readBufferSize) {
7677 read_buffer_size = readBufferSize;
7778 }
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ class URLStreamBuffered : public AbstractURLStream {
178178 taskStream.setInput (urlStream);
179179 }
180180
181+ // / Defines the buffer that holds the with encoded data
181182 void setBufferSize (int bufferSize, int bufferCount){
182183 taskStream.setBufferSize (bufferSize, bufferCount);
183184 }
@@ -227,6 +228,7 @@ class URLStreamBuffered : public AbstractURLStream {
227228 urlStream.setPassword (password);
228229 }
229230
231+ // / ESP32 only: PowerSave off (= default setting) is much faster
230232 void setPowerSave (bool ps) override { urlStream.setPowerSave (ps); }
231233
232234
You can’t perform that action at this time.
0 commit comments