diff --git a/examples/SnapClientI2S/SnapClientI2S.ino b/examples/SnapClientI2S/SnapClientI2S.ino index cd030f4..99105b8 100644 --- a/examples/SnapClientI2S/SnapClientI2S.ino +++ b/examples/SnapClientI2S/SnapClientI2S.ino @@ -13,6 +13,7 @@ OpusAudioDecoder opus; I2SStream out; WiFiClient wifi; +SnapTimeSyncDynamic synch(172, 10); // optional configuratioin SnapClient client(wifi, out, opus); void setup() { @@ -43,7 +44,7 @@ void setup() { // client.setServerIP(IPAddress(192,168,1,38)); // start snap client - client.begin(); + client.begin(synch); } void loop() {