SampleMOFifo: removed constness on get data methods

This commit is contained in:
f4exb 2019-10-17 18:41:38 +02:00
parent 626e07dd85
commit 6a544d2869
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ public:
);
void writeAsync(const SampleVector::const_iterator& begin, unsigned int amount, unsigned int stream);
const std::vector<SampleVector>& getData() { return m_data; }
const SampleVector& getData(unsigned int stream) { return m_data[stream]; }
std::vector<SampleVector>& getData() { return m_data; }
SampleVector& getData(unsigned int stream) { return m_data[stream]; }
unsigned int getNbStreams() const { return m_data.size(); }
unsigned int remainderSync()