diff options
author | Chris Robinson <[email protected]> | 2014-07-19 14:18:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-07-19 14:18:52 -0700 |
commit | 9370fea3596d5daadc6f460db955db45749b14f7 (patch) | |
tree | 3010789a770b2988e07d43cb5112f1b82ea95eef | |
parent | 36381f316496aac24919fb27b855b43bb2d97432 (diff) |
Trace when a soundfont buffer goes unused
-rw-r--r-- | Alc/midi/sf2load.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index 4b8fd6a6..670f4ee9 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -1353,7 +1353,10 @@ ALboolean loadSf2(Reader *stream, ALsoundfont *soundfont, ALCcontext *context) Soundfont_Destruct(&sfont); /* If the buffer ends up unused, delete it. */ if(ReadRef(&buffer->ref) == 0) + { + TRACE("Deleting unused buffer...\n"); DeleteBuffer(context->Device, buffer); + } return AL_TRUE; |