begin
pR.fTarget :=0.20;
pR.fCurrent :=-1;
pR.fTime :=2;
pR.lCurve :=0;
fx:= BASS_ChannelSetFX(strs[0], BASS_FX_VOLUME,1);
BASS_FXSetParameters(fx,@pR);
end;
In the code above, there is a fade out of 2 seconds for volume 0.20, how do I go back to normal volume?.
I tried the code below but it didn't work
begin
pR.fTarget :=1;
pR.fCurrent :=-1;
pR.fTime :=2;
pR.lCurve :=0;
fx:= BASS_ChannelSetFX(strs[0], BASS_FX_VOLUME,1);
BASS_FXSetParameters(fx,@pR);
end;