Skip to content

Commit 8393e11

Browse files
committed
azure tts example compile errors
1 parent cce818a commit 8393e11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/examples-tts/streams-azure_tts-i2s/streams-azure_tts-i2s.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ String msg = "This is a demonstration of Phil Schatzmann's AudioTools integratin
1717

1818
URLStream AzureURLStream("ssid", "pwd");
1919
I2SStream i2s; // or I2SStream
20-
WAVDecoder decoder(i2s); // decode wav to pcm and send it to I2S
21-
EncodedAudioStream out(i2s, decoder); // Decoder stream
20+
WAVDecoder decoder;
21+
EncodedAudioStream out(&i2s, &decoder); // Decoder stream
2222
StreamCopy copier(out, AzureURLStream); // copy in to out
2323

2424
void setup(){

0 commit comments

Comments
 (0)