From 75333391518c7b4a3286763d9994ea3bbbec4b28 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Wed, 13 Mar 2024 15:24:54 +0100 Subject: [PATCH] I2S Example add SnapTimeSync --- examples/SnapClientI2S/SnapClientI2S.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {