diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
commit | 0938a42440cc82ce8d0cb064840c258c863714ab (patch) | |
tree | 19f58c31e65226d85c76d96647a6e300f7995c10 /libs/rubberband | |
parent | 15e390ebe5611b5443eb1fb57631826389ffd021 (diff) |
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/rubberband')
-rw-r--r-- | libs/rubberband/src/StretcherProcess.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rubberband/src/StretcherProcess.cpp b/libs/rubberband/src/StretcherProcess.cpp index 47bf77e197..3b832e09e1 100644 --- a/libs/rubberband/src/StretcherProcess.cpp +++ b/libs/rubberband/src/StretcherProcess.cpp @@ -200,6 +200,7 @@ RubberBandStretcher::Impl::processChunks(size_t c, bool &any, bool &last) if (!cd.draining) { size_t got = cd.inbuf->peek(cd.fltbuf, m_windowSize); assert(got == m_windowSize || cd.inputSize >= 0); + got = 0; cd.inbuf->skip(m_increment); analyseChunk(c); } @@ -230,6 +231,7 @@ RubberBandStretcher::Impl::processOneChunk() ChannelData &cd = *m_channelData[c]; if (!cd.draining) { size_t got = cd.inbuf->peek(cd.fltbuf, m_windowSize); + got = 0; assert(got == m_windowSize || cd.inputSize >= 0); cd.inbuf->skip(m_increment); analyseChunk(c); |