Author Topic: how to hide bass_wadsp?  (Read 294 times)

tonee26

  • Posts: 31
how to hide bass_wadsp?
« on: 5 Apr '16 - 02:50 »
hello I made a project with bass.dll and bass_wadsp.dll, all own way, but I do not know how to hide the winamp stereo tools, when starting running winamp stereo music tools, always look.



procedure TForm1.FormCreate(Sender: TObject);
begin
if BASS_Init(-1, 44100, 0, 0, nil) then begin
    BASS_WADSP_Init(Handle);
end;
 _dspPluginA := BASS_WADSP_Load(PChar('dsp_stereo.dll'), 5, 5, 100, 100, nil);
  BASS_WADSP_Config(Handle);

end;

procedure TForm1.Button1Click(Sender: TObject);

begin
     BASS_WADSP_Start(_dspPluginA, 0, 0);

    if OpenDialog.Execute then begin
        _streamA := BASS_StreamCreateFile(False, PChar(OpenDialog.FileName), 0, 0, BASS_STREAM_AUTOFREE);

        if _streamA <> 0  then begin

            hDsp := BASS_WADSP_ChannelSetDSP(_dspPluginA, _streamA, 1);

            BASS_ChannelPlay(_streamA, false);

        end;

    end;