Fix webradio to use buffer, not raw input streams
Thanks to @h3ndrik, again.
This commit is contained in:
1 parent
05a78dce2a
commit
4d9d010e8b
1 file changed
+1
-1
@@ -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"));
|
||||
|
||||
Reference in new issue
Block a user