procedure TPHXMusic.Restart;
begin
if FLooping then
begin
BASS_ChannelSetAttribute( Handle, BASS_SAMPLE_LOOP, BASS_SAMPLE_LOOP);
end else
begin
BASS_ChannelSetAttribute( Handle, 0, BASS_SAMPLE_LOOP);
end;
if not BASS_ChannelPlay(Handle, True) then
begin
raise Exception.CreateFmt('Bass error: %s', [GetBassError]);
end;
end;
Original issue reported on code.google.com by wagenhei...@gmail.com on 4 Apr 2011 at 8:59
Original issue reported on code.google.com by
wagenhei...@gmail.com
on 4 Apr 2011 at 8:59