Mercurial > hg > svapp
changeset 131:883f7fc7fd34
* fix thtoopid mithtake
author | Chris Cannam |
---|---|
date | Mon, 07 Jul 2008 17:16:18 +0000 |
parents | 4c9c04645685 |
children | 3b61a975b47e |
files | audioio/AudioCallbackPlaySource.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp Mon Jul 07 16:49:53 2008 +0000 +++ b/audioio/AudioCallbackPlaySource.cpp Mon Jul 07 17:16:18 2008 +0000 @@ -1125,7 +1125,7 @@ #endif for (size_t c = 0; c < channels; ++c) { - if (c >= m_stretcherInputSizes) continue; + if (c >= m_stretcherInputCount) continue; if (reqd > m_stretcherInputSizes[c]) { if (c == 0) { std::cerr << "WARNING: resizing stretcher input buffer from " << m_stretcherInputSizes[c] << " to " << (reqd * 2) << std::endl; @@ -1137,7 +1137,7 @@ } for (size_t c = 0; c < channels; ++c) { - if (c >= m_stretcherInputSizes) continue; + if (c >= m_stretcherInputCount) continue; RingBuffer<float> *rb = getReadRingBuffer(c); if (rb) { size_t gotHere;