Hello,
I tried to uploaded it, not sure if it actually worked, 'reelstop.ogg'.
Also this is the code used to actually play the various sounds:
Procedure PlaySnd(Const Sound: SmallInt);
var
sHandle : Cardinal;
sData : Pointer;
sSnd : HSTREAM;
sFile : String;
sSize : Integer;
IsActive : Byte;
Begin
case Sound Of // case statement for selection etc...
0: sFile := 'reelstop';
1: sFile := 'scatter1';
2: sFile := 'scatter2';
3: sFile := 'scatter3';
4: sFile := 'scatter4';
5: sFile := 'scatter5';
6: sFile := 'featureinit';
end;
sHandle := FindResource(hInstance, pChar(sFile), RT_RCDATA);
sData := LockResource(LoadResource(hInstance, sHandle));
sSize := SizeOfResource(hInstance, sHandle);
sSnd := BASS_StreamCreateFile(True, sData, 0, sSize, BASS_STREAM_AUTOFREE OR BASS_UNICODE);
BASS_ChannelPlay(sSnd, False);
if (Sound = 6) then
begin
// Do not continue until sound has finished playing.
IsActive := BASS_ChannelIsActive(sSnd);
while (IsActive <> 0) do
begin
IsActive := BASS_ChannelIsActive(sSnd);
end;
end;
End;
reelstop being the only one that produces the strange buzzing/beeping noise (it is difficult to explain).
I use Windows 7 64-Bit, so does my laptop which also produces this problem.