Mercurial > hg > svcore
diff data/fileio/WavFileReader.cpp @ 1326:54af1e21705c 3.0-integration
Update to use bqvec allocator for float vectors
author | Chris Cannam |
---|---|
date | Tue, 13 Dec 2016 15:23:21 +0000 |
parents | 0a9193dc136b |
children | c380e56c95f5 |
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp Tue Dec 13 12:03:48 2016 +0000 +++ b/data/fileio/WavFileReader.cpp Tue Dec 13 15:23:21 2016 +0000 @@ -129,7 +129,7 @@ m_updating = false; } -vector<float> +floatvec_t WavFileReader::getInterleavedFrames(sv_frame_t start, sv_frame_t count) const { static HitCount lastRead("WavFileReader: last read"); @@ -175,7 +175,7 @@ return {}; } - vector<float> data; + floatvec_t data; sv_frame_t n = count * m_fileInfo.channels; data.resize(n);