From 4d9d010e8b633b5e574939502423bc270255f1b3 Mon Sep 17 00:00:00 2001 From: h3ndrik Date: Thu, 1 Feb 2018 04:20:08 +0100 Subject: [PATCH] Fix webradio to use buffer, not raw input streams Thanks to @h3ndrik, again. --- examples/WebRadio/WebRadio.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/WebRadio/WebRadio.ino b/examples/WebRadio/WebRadio.ino index 1d8a710..8045746 100644 --- a/examples/WebRadio/WebRadio.ino +++ b/examples/WebRadio/WebRadio.ino @@ -311,7 +311,7 @@ void StartNewURL() Serial.printf_P(PSTR("created decoder\n")); decoder->RegisterStatusCB(StatusCallback, NULL); Serial.printf_P("Decoder start...\n"); - decoder->begin(file, out); + decoder->begin(buff, out); out->SetGain(((float)volume)/100.0); if (!decoder->isRunning()) { Serial.printf_P(PSTR("Can't connect to URL"));