Ref T730, style

* set object name
* use m_XYZ member name
This commit is contained in:
Klaus Basan
2019-10-07 17:33:52 +02:00
committed by Mat Sutcliffe
parent c604ced11c
commit 857e3581b0
19 changed files with 64 additions and 54 deletions

View File

@@ -25,7 +25,7 @@ namespace BlackSound
int CBufferedWaveProvider::readSamples(QVector<float> &samples, qint64 count)
{
qint64 len = qMin(count, static_cast<qint64>(m_audioBuffer.size()));
const int len = static_cast<int>(qMin(count, static_cast<qint64>(m_audioBuffer.size())));
samples = m_audioBuffer.mid(0, len);
// if (len != 0) qDebug() << "Reading" << count << "samples." << m_audioBuffer.size() << "currently in the buffer.";
m_audioBuffer.remove(0, len);