Skip to content

Commit 567183c

Browse files
committed
Analog Example add SnapTimeSyncDynamic
1 parent 7533339 commit 567183c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/SnapClientFreeRTOS/SnapClientFreeRTOS.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void setup() {
4141
client.setSnapProcessor(rtos);
4242

4343
// Define CONFIG_SNAPCAST_SERVER_HOST in SnapConfig.h or here
44-
client.setServerIP(IPAddress(192,168,1,33));
44+
//client.setServerIP(IPAddress(192,168,1,33));
4545

4646
// start snap client
4747
client.begin(synch);

examples/SnapClientInternalDAC/SnapClientInternalDAC.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
OpusAudioDecoder opus;
1414
AnalogAudioStream out;
1515
WiFiClient wifi;
16+
SnapTimeSyncDynamic synch(172, 10); // optional configuratioin
1617
SnapClient client(wifi, out, opus);
1718

1819
void setup() {
@@ -40,7 +41,7 @@ void setup() {
4041
// client.setServerIP(IPAddress(192,168,1,38));
4142

4243
// start snap client
43-
client.begin();
44+
client.begin(synch);
4445
}
4546

4647
void loop() {

0 commit comments

Comments
 (0)