Hi just place a simple Bass_ErrorGetCode Call after every call so something like this
if not BASS_Init(DeviceIndex,44100,BASS_DEVICE_DSOUND,Form1.handle,nil) then
ShowMessage(Bass_ErrorGetCode().tostring)
else
begin
SomeHandle:=BASS_StreamCreateFile(...,...,0,...,BASS_SAMPLE_3D or BASS_STREAM_AUTOFREE or BASS_SAMPLE_SOFTWARE or BASS_SAMPLE_FLOAT);
if somehandle = 0 then // error
ShowMessage(Bass_ErrorGetCode().tostring)
end;
by the way what do you wanna to play a 3D Sample?