# HG changeset patch # User Chris Cannam # Date 1434375327 -3600 # Node ID 1020db1698c01ab04851fcb583e9e26a0bad7c1f # Parent 49c89950b06debd4fdb0285d5b447b3c4bf07385 Fix typo diff -r 49c89950b06d -r 1020db1698c0 audioio/AudioGenerator.cpp --- a/audioio/AudioGenerator.cpp Mon Jun 15 12:19:47 2015 +0100 +++ b/audioio/AudioGenerator.cpp Mon Jun 15 14:35:27 2015 +0100 @@ -448,7 +448,7 @@ copy(data[c].begin(), data[c].end(), m_channelBuffer[c]); } - got = data.size(); + got = data[0].size(); } else { sv_frame_t missing = fadeIn/2 - startFrame; @@ -467,7 +467,7 @@ copy(data[c].begin(), data[c].end(), m_channelBuffer[c] + missing); } - got = data.size() + missing; + got = data[0].size() + missing; } for (int c = 0; c < m_targetChannelCount; ++c) {