Closed jbaudanza closed 12 years ago
Jon, looks good.
It turns out that you've found a bug in reallocateSampleMemory. I guess no one was using that. If you pass a null pointer to realloc then it just works the same as malloc. The only problem is that you've lost your original sample data :( ...
Hey Max,
This is the change I e-mailed you about. LMK what you think.
I didn't touch
reallocateSampleMemory
in awave.com because I'm not sure I understand how it works.It looks like
buffer
is being passed into realloc without being initialized to any value