Mercurial > hg > svcore
diff data/fileio/WavFileReader.cpp @ 1103:e86a7ea3dc38 simple-fft-model
Fix a cache-related dumbitude
author | Chris Cannam |
---|---|
date | Tue, 16 Jun 2015 20:28:23 +0100 |
parents | 4d9816ba0ebe |
children | 457a1a619c5f |
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp Mon Jun 15 19:32:30 2015 +0100 +++ b/data/fileio/WavFileReader.cpp Tue Jun 16 20:28:23 2015 +0100 @@ -157,7 +157,6 @@ sv_frame_t n = count * m_fileInfo.channels; data.resize(n); - m_buffer = data; m_lastStart = start; m_lastCount = count; @@ -166,6 +165,7 @@ return {}; } + m_buffer = data; return data; }