Skip to content

Commit 7533339

Browse files
committed
I2S Example add SnapTimeSync
1 parent 606d1c4 commit 7533339

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/SnapClientI2S/SnapClientI2S.ino

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

1819
void setup() {
@@ -43,7 +44,7 @@ void setup() {
4344
// client.setServerIP(IPAddress(192,168,1,38));
4445

4546
// start snap client
46-
client.begin();
47+
client.begin(synch);
4748
}
4849

4950
void loop() {

0 commit comments

Comments
 (0)