--- RtWvOut.cpp.orig 2007-08-07 16:34:03.000000000 -0400 +++ RtWvOut.cpp 2007-10-03 20:27:56.515625000 -0400 @@ -104,7 +104,7 @@ } data_.resize( size * nBuffers, nChannels ); - unsigned int offset = (unsigned int ) (data_.size() / 2.0); + unsigned int offset = (unsigned int ) (data_.frames() / 2.0); writeIndex_ = offset; // start writing half-way into buffer framesFilled_ = offset; }