aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-02 01:13:22 -0700
committerChris Robinson <[email protected]>2011-09-02 01:13:22 -0700
commit370c9f553df9af129f1504270dbd36cd5066f250 (patch)
tree418835c35b4a88115ca2e6c902dfb428901bec5f /Alc
parente80aa008b2f843869941645baecb3352376ed3e8 (diff)
Trace the reverb buffer size
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcReverb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index d8c06dc4..5a742593 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -684,6 +684,7 @@ static ALboolean AllocLines(ALuint frequency, ALverbState *State)
if(totalSamples != State->TotalSamples)
{
+ TRACE("New reverb buffer length: %u samples (%f sec)\n", totalSamples, totalSamples/(float)frequency);
newBuffer = realloc(State->SampleBuffer, sizeof(ALfloat) * totalSamples);
if(newBuffer == NULL)
return AL_FALSE;