index 4d2e93d25260243e34c6228fb59c4b40cb9ba652..1b8d376aa72f82076369d611ddc245ba10bd0a50 100644 (file)
uses
sdl2,
SDL2_mixer,
uses
sdl2,
SDL2_mixer,
- mempool,
+ {$IFDEF USE_MEMPOOL}mempool,{$ENDIF}
e_log,
SysUtils;
e_log,
SysUtils;
nRefs: Integer;
end;
nRefs: Integer;
end;
- TBasicSound = class(TPoolObject)
+ TBasicSound = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
private
FChanNum: Integer; // <0: no channel allocated
private
FChanNum: Integer; // <0: no channel allocated