Hi I am using BASS to play MP3 and it does it very nicely. But the Volume Up/Down does not work.
I am using Lazarus 2.0.8 on Linux Mnt 19.3+Cinnamon. There is only a single standard option in the Mint-Sound Output dialog.
function BASS_SetVolume: Single; {$IFDEF MSWINDOWS}stdcall{$ELSE}cdecl{$ENDIF}; external bassdll;
procedure TfrmMain.btnVolUpClick(Sender: TObject);
begin
if trackVol < 100 then // Got the 100 from Bass unit {0..100}
Inc(trackVol,5);
BASS_SetVolume(trackVol);
lblVol.Caption:=IntToStr(trackVol);
end;
The numbers roll around OK, but the sound does not change. Do I need to initialize the Sound somewhere for BASS?
Thanks