index 541f31a908239b7e0d05417ab52cfe1394279bbc..0104f3a3eca925907ba1ea2cbc9f68dafe6d3364 100644 (file)
const
NO_SOUND_ID = DWORD(-1);
-function e_InitSoundSystem(): Boolean;
+function e_InitSoundSystem(NoOutput: Boolean = False): Boolean;
function e_LoadSound(FileName: string; var ID: DWORD; isMusic: Boolean): Boolean;
function e_LoadSoundMem(pData: Pointer; Length: Integer; var ID: DWORD; isMusic: Boolean): Boolean;
end;
end;
-function e_InitSoundSystem(): Boolean;
+function e_InitSoundSystem(NoOutput: Boolean = False): Boolean;
var
res, i: Integer;
rfreq: Integer;
Result := False;
SoundInitialized := False;
+
+ if NoOutput then begin Result := true; Exit end;
// wow, this is actually MIDI player!
// we need module player