Remove/Rename SDL_FreeWAV() to SDL_free()
This commit is contained in:
@@ -62,7 +62,7 @@ void loop()
|
||||
#endif
|
||||
SDL_PauseAudioDevice(cbd[0].dev, 1);
|
||||
SDL_CloseAudioDevice(cbd[0].dev);
|
||||
SDL_FreeWAV(sound);
|
||||
SDL_free(sound);
|
||||
SDL_Quit();
|
||||
}
|
||||
}
|
||||
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
|
||||
SDL_GetError());
|
||||
} else {
|
||||
test_multi_audio(devcount);
|
||||
SDL_FreeWAV(sound);
|
||||
SDL_free(sound);
|
||||
}
|
||||
|
||||
SDL_free(file);
|
||||
|
||||
Reference in New Issue
Block a user