X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=snd_wav.c;h=d23a8b5126487ca3b01196c8c5c17ffc61492565;hb=1e01840681f92f425aa17e1a18c7dfcf3bf80e40;hp=b4d014b34a71fc3d03739d4dec1fae00195357ca;hpb=734f6d7e47a806d4f57e535979b1f71f986cf48b;p=xonotic%2Fdarkplaces.git diff --git a/snd_wav.c b/snd_wav.c index b4d014b3..d23a8b51 100644 --- a/snd_wav.c +++ b/snd_wav.c @@ -22,10 +22,10 @@ */ -#include "quakedef.h" +#include "darkplaces.h" #include "snd_main.h" #include "snd_wav.h" - +#include "sound.h" typedef struct wavinfo_s { @@ -265,7 +265,7 @@ const snd_fetcher_t wav_fetcher = { WAV_GetSamplesFloat, NULL, WAV_FreeSfx }; S_LoadWavFile ============== */ -qboolean S_LoadWavFile (const char *filename, sfx_t *sfx) +qbool S_LoadWavFile (const char *filename, sfx_t *sfx) { fs_offset_t filesize; unsigned char *data;