OK, I just checked and sadly there are problems if apply the volume for input opus web-stream, the decoder dont like it.
But there is a easy solution!

Instead of applying the volume for the input, apply it for the output.
So, for example in uos Simple Web Player, change all code with Input_Volume with Output_volume:
uos_OutputSetLevelEnable(PlayerIndex1, Out1Index, 2);
uos_OutputAddDSPVolume(PlayerIndex1, Out1Index, 1, 1);
uos_OutputSetDSPVolume(PlayerIndex1, Out1Index, TrackBar1.position / 100,
TrackBar3.position / 100, True); // Set volume
procedure TForm1.TrackBar1Change(Sender: TObject);
begin
if (button3.Enabled = False) then
uos_OutputSetDSPVolume(PlayerIndex1, Out1Index, TrackBar1.position / 100,
TrackBar3.position / 100, True);
end;
procedure Tform1.ShowLevel;
begin
ShapeLeft.Height := round(uos_OutputGetLevelLeft(PlayerIndex1, Out1Index) * 146);
ShapeRight.Height := round(uos_OutputGetLevelRight(PlayerIndex1, Out1Index) * 146);
ShapeLeft.top := 450 - ShapeLeft.Height;
ShapeRight.top := 450 - ShapeRight.Height;
end;
I will update the demo asap.