X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fopenal%2Fsound.c;h=73d36a42968a46e87f3548c900257a0dd84635a8;hb=02f89a09888d2aab62c7bd92b8d3ac33fcd0c0ab;hp=9dfca1919e106311a6c894bc3a3a0d656b229492;hpb=a99489422a881d2ace0312e82aa4191cec877b5c;p=flatwaifu.git diff --git a/src/openal/sound.c b/src/openal/sound.c index 9dfca19..73d36a4 100644 --- a/src/openal/sound.c +++ b/src/openal/sound.c @@ -14,7 +14,7 @@ # include #endif -#include // SDL_BuildAudioCVT SDL_ConvertAudio +#include "SDL.h" // SDL_BuildAudioCVT SDL_ConvertAudio #include #include // malloc #include // memcpy @@ -183,7 +183,7 @@ void S_free (snd_t *s) { ALint h; openal_snd *snd = (openal_snd*)s; if (snd != NULL) { - assert(snd->base.tag = TAG_OAL1); + assert(snd->base.tag == TAG_OAL1); if (context != NULL) { for (i = 0; i < MAX_CHANNELS; i++) { alGetSourcei(sources[i], AL_BUFFER, &h);