Mercurial > hg > svapp
changeset 461:1020db1698c0 simple-fft-model
Fix typo
author | Chris Cannam |
---|---|
date | Mon, 15 Jun 2015 14:35:27 +0100 |
parents | 49c89950b06d |
children | 83370e830c95 39ab248a4998 |
files | audioio/AudioGenerator.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {