Skip to content

Commit

Permalink
Remove constructors for WiFiClient
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Jul 19, 2024
1 parent deeab59 commit bbb6033
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/SnapClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,6 @@ class SnapClient {
p_client = &client;
}

//
SnapClient(WiFiClient &client, AudioStream &stream, AudioDecoder &decoder)
: SnapClient((Client &)client, stream, decoder) {
is_wifi = true;
}

SnapClient(WiFiClient &client, AudioStream &stream, StreamingDecoder &decoder,
int bufferSize = CONFIG_STREAMIN_DECODER_BUFFER)
: SnapClient((Client &)client, stream, decoder, bufferSize) {
is_wifi = true;
}

SnapClient(WiFiClient &client, AudioOutput &output, AudioDecoder &decoder)
: SnapClient((Client &)client, output, decoder) {
is_wifi = true;
}

SnapClient(WiFiClient &client, AudioOutput &output, StreamingDecoder &decoder,
int bufferSize = CONFIG_STREAMIN_DECODER_BUFFER)
: SnapClient((Client &)client, output, decoder, bufferSize) {
is_wifi = true;
}

/// Destructor
~SnapClient() { end(); }

Expand Down

0 comments on commit bbb6033

Please sign in to comment.