Skip to content

Commit

Permalink
I2S Example add SnapTimeSync
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Mar 13, 2024
1 parent 606d1c4 commit 7533339
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/SnapClientI2S/SnapClientI2S.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
OpusAudioDecoder opus;
I2SStream out;
WiFiClient wifi;
SnapTimeSyncDynamic synch(172, 10); // optional configuratioin
SnapClient client(wifi, out, opus);

void setup() {
Expand Down Expand Up @@ -43,7 +44,7 @@ void setup() {
// client.setServerIP(IPAddress(192,168,1,38));

// start snap client
client.begin();
client.begin(synch);
}

void loop() {
Expand Down

0 comments on commit 7533339

Please sign in to comment.