diff data/model/WritableWaveFileModel.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 3aea4f7617bb
children dc56e8a13e44
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp	Tue Dec 13 12:03:48 2016 +0000
+++ b/data/model/WritableWaveFileModel.cpp	Tue Dec 13 15:23:21 2016 +0000
@@ -188,14 +188,14 @@
     return m_frameCount;
 }
 
-vector<float>
+floatvec_t
 WritableWaveFileModel::getData(int channel, sv_frame_t start, sv_frame_t count) const
 {
     if (!m_model || m_model->getChannelCount() == 0) return {};
     return m_model->getData(channel, start, count);
 }
 
-vector<vector<float>>
+vector<floatvec_t>
 WritableWaveFileModel::getMultiChannelData(int fromchannel, int tochannel,
                                            sv_frame_t start, sv_frame_t count) const
 {