Added trace log for data unloading

This commit is contained in:
Ray
2015-08-05 19:17:56 +02:00
parent 5436d93a3d
commit a42bfa7794
4 changed files with 14 additions and 0 deletions

View File

@ -449,6 +449,8 @@ void UnloadSound(Sound sound)
{
alDeleteSources(1, &sound.source);
alDeleteBuffers(1, &sound.buffer);
TraceLog(INFO, "Unloaded sound data");
}
// Play a sound
@ -922,6 +924,8 @@ static Wave LoadOGG(char *fileName)
static void UnloadWave(Wave wave)
{
free(wave.data);
TraceLog(INFO, "Unloaded wave data");
}
// Some required functions for audio standalone module version