* Fix outbuf size issues, and other misc troubles

This commit is contained in:
Chris Cannam
2007-11-21 21:48:16 +00:00
parent d2fe49c20c
commit fe9dc561ef
4 changed files with 54 additions and 41 deletions

View File

@@ -210,10 +210,6 @@ RubberBandStretcher::Impl::ChannelData::setOutbufSize(size_t outbufSize)
//!!! at this point we need a lock in case a different client
//thread is calling process()
//!!! this doesn't do what we want -- we want a locking resize
//that preserves the existing data
// outbuf->resize(outbufSize);
RingBuffer<float> *newbuf = outbuf->resized(outbufSize);
delete outbuf;
outbuf = newbuf;