diff --git a/examples/WebRadio/WebRadio.ino b/examples/WebRadio/WebRadio.ino index c0da4be..94fb649 100644 --- a/examples/WebRadio/WebRadio.ino +++ b/examples/WebRadio/WebRadio.ino @@ -138,6 +138,7 @@ void HandleVolume(WiFiClient *client, char *params) ParamInt("vol", volume); } Serial.printf_P(PSTR("Set volume: %d\n"), volume); + out->SetGain(((float)volume)/100.0); RedirectToIndex(client); }