Skip to content

Commit 257e982

Browse files
committed
SnapClient provide setServerIP()
1 parent 263dc29 commit 257e982

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SnapClient.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ class SnapClient {
7272
/// Defines an alternative commnuication client (default is WiFiClient)
7373
void setClient(Client &client) { p_snapprocessor->setClient(client); }
7474

75-
// /// Defines the sample rate, channels and bits
76-
// void setAudioInfo(AudioInfo info){ p_snapprocessor->setAudioInfo(info);}
77-
75+
/// @brief Defines the Snapcast Server IP address
76+
/// @param address
77+
void setServerIP(IPAddress address) { p_snapprocessor->setServerIP(address); }
7878

7979
/// Defines the time synchronization logic
8080
void setSnapTimeSync(SnapTimeSync &timeSync){

0 commit comments

Comments
 (0)