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