X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_sound_fmod.inc;h=5e1c811fe994d0b119aca6cf3cb8347507e9d797;hb=cde380b2a554f452f7c2e2c6694bc29ce597ece9;hp=acfd069c2ed1c7100042e3946c4458fe1486c3d7;hpb=0968d19494ddf24230a822c02acbe3a3334bc3ad;p=d2df-sdl.git diff --git a/src/engine/e_sound_fmod.inc b/src/engine/e_sound_fmod.inc index acfd069..5e1c811 100644 --- a/src/engine/e_sound_fmod.inc +++ b/src/engine/e_sound_fmod.inc @@ -1,9 +1,25 @@ +(* Copyright (C) DooM 2D:Forever Developers + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + *) interface uses fmod, fmodtypes, fmoderrors, + mempool, e_log, SysUtils; @@ -15,7 +31,7 @@ type nRefs: Integer; end; - TBasicSound = class (TObject) + TBasicSound = class(TPoolObject) private FChannel: FMOD_CHANNEL; @@ -75,7 +91,7 @@ var implementation uses - g_window, g_options, BinEditor; + g_window, g_options, utils; const N_CHANNELS = 512;