Auszug aus Bass.pas (VERSION2.0):
Delphi-Quellcode:
// BASS_ChannelIsActive return values
BASS_ACTIVE_STOPPED = 0;
BASS_ACTIVE_PLAYING = 1;
BASS_ACTIVE_STALLED = 2;
BASS_ACTIVE_PAUSED = 3;
function BASS_ChannelIsActive(
handle: DWORD): DWORD;
stdcall;
external '
bass.dll'
name '
BASS_ChannelIsActive';
Meine Überprüfung läuft so:
Delphi-Quellcode:
if BASS_ChannelIsActive(channel) = BASS_ACTIVE_STOPPED then
begin
//MACH WAS
Exit;
end;
MFG Alex
PS: Falsche Bass.pas???