diff --git a/_audio_server_8h_source.html b/_audio_server_8h_source.html
index 5a8cf0c5d3..42e21ccb60 100644
--- a/_audio_server_8h_source.html
+++ b/_audio_server_8h_source.html
@@ -170,247 +170,251 @@
-
-
-
-
-
- 156 WiFiServer server{80};
-
- 158 WiFiClient client_obj;
- 159 char *password =
nullptr;
- 160 char *network =
nullptr;
-
-
- 163 const char *content_type =
nullptr;
-
- 165 Stream *in =
nullptr;
-
- 167 BaseConverter *converter_ptr =
nullptr;
-
- 169 void setupServer(
int port) {
- 170 WiFiServer tmp(port);
-
-
+
+
+
+
+
+
+
+
+
+ 161 WiFiServer server{80};
+
+ 163 WiFiClient client_obj;
+ 164 char *password =
nullptr;
+ 165 char *network =
nullptr;
+
+
+ 168 const char *content_type =
nullptr;
+
+ 170 Stream *in =
nullptr;
+
+ 172 BaseConverter *converter_ptr =
nullptr;
-
-
- 176 if (WiFi.status() != WL_CONNECTED && network !=
nullptr &&
- 177 password !=
nullptr) {
- 178 WiFi.begin(network, password);
- 179 while (WiFi.status() != WL_CONNECTED) {
-
-
-
-
- 184 WiFi.setSleep(
false);
-
-
-
- 188 Serial.print(
"IP address: ");
- 189 Serial.println(WiFi.localIP());
-
-
- 192 virtual void sendReplyHeader() {
-
-
-
- 196 client_obj.println(
"HTTP/1.1 200 OK");
- 197 if (content_type !=
nullptr) {
- 198 client_obj.print(
"Content-type:");
- 199 client_obj.println(content_type);
-
- 201 client_obj.println();
-
-
- 204 virtual void sendReplyContent() {
-
- 206 if (callback !=
nullptr) {
-
- 208 LOGI(
"sendReply - calling callback");
- 209 callback(&client_obj);
-
- 211 }
else if (in !=
nullptr) {
-
- 213 LOGI(
"sendReply - Returning audio stream...");
- 214 copier.begin(client_obj, *in);
-
-
-
-
- 219 void processClient() {
-
-
-
-
-
- 225 while (client_obj.connected()) {
-
-
- 228 char c = client_obj.read();
-
-
-
-
-
- 234 if (currentLine.length() == 0) {
-
-
-
-
-
-
-
- 242 }
else if (c !=
'\r') {
-
-
-
-
-
-
-
-
-
-
-
-
- 268 this->encoder = encoder;
-
-
-
- 278 const char *password,
int port = 80)
-
- 280 this->encoder = encoder;
-
-
-
+ 174 void setupServer(
int port) {
+ 175 WiFiServer tmp(port);
+
+
+
+
+
+ 181 if (WiFi.status() != WL_CONNECTED && network !=
nullptr &&
+ 182 password !=
nullptr) {
+ 183 WiFi.begin(network, password);
+ 184 while (WiFi.status() != WL_CONNECTED) {
+
+
+
+
+ 189 WiFi.setSleep(
false);
+
+
+
+ 193 Serial.print(
"IP address: ");
+ 194 Serial.println(WiFi.localIP());
+
+
+ 197 virtual void sendReplyHeader() {
+
+
+
+ 201 client_obj.println(
"HTTP/1.1 200 OK");
+ 202 if (content_type !=
nullptr) {
+ 203 client_obj.print(
"Content-type:");
+ 204 client_obj.println(content_type);
+
+ 206 client_obj.println();
+
+
+ 209 virtual void sendReplyContent() {
+
+ 211 if (callback !=
nullptr) {
+
+ 213 LOGI(
"sendReply - calling callback");
+ 214 callback(&client_obj);
+
+ 216 }
else if (in !=
nullptr) {
+
+ 218 LOGI(
"sendReply - Returning audio stream...");
+ 219 copier.begin(client_obj, *in);
+
+
+
+
+ 224 void processClient() {
+
+
+
+
+
+ 230 while (client_obj.connected()) {
+
+
+ 233 char c = client_obj.read();
+
+
+
+
+
+ 239 if (currentLine.length() == 0) {
+
+
+
+
+
+
+
+ 247 }
else if (c !=
'\r') {
+
+
+
+
+
+
+
+
+
+
+
+
+ 273 this->encoder = encoder;
+
+
+
+ 283 const char *password,
int port = 80)
+
+ 285 this->encoder = encoder;
+
-
- 297 int bits_per_sample = 16,
BaseConverter *converter =
nullptr) {
-
-
-
-
-
-
-
-
- 306 encoded_stream.
setInput(&client_obj);
- 307 encoded_stream.setEncoder(encoder);
- 308 encoded_stream.
begin(audio_info);
-
-
-
-
-
-
- 323 this->audio_info = info;
-
-
- 326 encoded_stream.
setInput(&client_obj);
- 327 encoded_stream.setEncoder(encoder);
- 328 encoded_stream.
begin(audio_info);
-
-
-
-
-
-
-
- 343 this->audio_info = in.audioInfo();
-
-
- 346 encoded_stream.
setInput(&client_obj);
- 347 encoded_stream.setEncoder(encoder);
- 348 encoded_stream.
begin(audio_info);
-
-
-
-
-
- 361 int bits_per_sample = 16) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 376 EncodedAudioStream encoded_stream;
- 377 AudioInfo audio_info;
- 378 AudioEncoder *encoder =
nullptr;
-
- 380 virtual void sendReplyContent() {
-
-
-
-
-
-
-
- 388 if (callback !=
nullptr) {
-
- 390 encoded_stream.setOutput(
out_ptr());
- 391 encoded_stream.setEncoder(encoder);
- 392 encoded_stream.begin();
-
-
- 395 LOGI(
"sendReply - calling callback");
- 396 callback(&encoded_stream);
-
- 398 }
else if (in !=
nullptr) {
-
- 400 LOGI(
"sendReply - Returning encoded stream...");
-
- 402 encoded_stream.setOutput(
out_ptr());
- 403 encoded_stream.setEncoder(encoder);
- 404 encoded_stream.begin();
-
- 406 copier.begin(encoded_stream, *in);
-
-
-
+
+
+
+ 302 int bits_per_sample = 16,
BaseConverter *converter =
nullptr) {
+
+
+
+
+
+
+
+
+ 311 encoded_stream.
setInput(&client_obj);
+ 312 encoded_stream.setEncoder(encoder);
+ 313 encoded_stream.
begin(audio_info);
+
+
+
+
+
+
+ 328 this->audio_info = info;
+
+
+ 331 encoded_stream.
setInput(&client_obj);
+ 332 encoded_stream.setEncoder(encoder);
+ 333 encoded_stream.
begin(audio_info);
+
+
+
+
+
+
+
+ 348 this->audio_info = in.audioInfo();
+
+
+ 351 encoded_stream.
setInput(&client_obj);
+ 352 encoded_stream.setEncoder(encoder);
+ 353 encoded_stream.
begin(audio_info);
+
+
+
+
+
+ 366 int bits_per_sample = 16) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 381 EncodedAudioStream encoded_stream;
+ 382 AudioInfo audio_info;
+ 383 AudioEncoder *encoder =
nullptr;
+
+ 385 virtual void sendReplyContent() {
+
+
+
+
+
+
+
+ 393 if (callback !=
nullptr) {
+
+ 395 encoded_stream.setOutput(
out_ptr());
+ 396 encoded_stream.setEncoder(encoder);
+ 397 encoded_stream.begin();
+
+
+ 400 LOGI(
"sendReply - calling callback");
+ 401 callback(&encoded_stream);
+
+ 403 }
else if (in !=
nullptr) {
+
+ 405 LOGI(
"sendReply - Returning encoded stream...");
+
+ 407 encoded_stream.setOutput(
out_ptr());
+ 408 encoded_stream.setEncoder(encoder);
+ 409 encoded_stream.begin();
-
-
-
-
-
-
-
-
-
- 439 if (encoder !=
nullptr) {
-
-
-
-
-
-
-
-
-
-
-
+ 411 copier.begin(encoded_stream, *in);
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 444 if (encoder !=
nullptr) {
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -418,20 +422,22 @@
+
-
-
-
-
+
+
+
+
+
diff --git a/classaudio__tools_1_1_audio_encoder_server-members.html b/classaudio__tools_1_1_audio_encoder_server-members.html
index bbfb16c3e6..0a70c65f16 100644
--- a/classaudio__tools_1_1_audio_encoder_server-members.html
+++ b/classaudio__tools_1_1_audio_encoder_server-members.html
@@ -105,8 +105,9 @@
sendReplyHeader() (defined in AudioServer) | AudioServer | inlineprotectedvirtual |
server (defined in AudioServer) | AudioServer | protected |
setConverter(BaseConverter *c) | AudioServer | inline |
- setupServer(int port) (defined in AudioServer) | AudioServer | inlineprotected |
- ~AudioEncoderServer() | AudioEncoderServer | inline |
+ setCopyBufferSize(int size) | AudioServer | inline |
+ setupServer(int port) (defined in AudioServer) | AudioServer | inlineprotected |
+ ~AudioEncoderServer() | AudioEncoderServer | inline |