Fix webradio to use buffer, not raw input streams

Thanks to @h3ndrik, again.
This commit is contained in:
h3ndrik authored and Earle F. Philhower, III committed 2018-01-31 19:20:08 -08:00
1 parent 05a78dce2a
commit 4d9d010e8b
1 file changed
+1 -1
+1 -1
View File
@@ -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"));