[AFV] misc style issues:

* object name
* simple style fixes
* some renamings
* comments
This commit is contained in:
Klaus Basan
2020-04-23 20:19:59 +02:00
committed by Mat Sutcliffe
parent c1622951b3
commit 7d51bedc3e
18 changed files with 170 additions and 107 deletions

View File

@@ -1,4 +1,5 @@
#include "bufferedwaveprovider.h"
#include "blacksound/audioutilities.h"
#include <QDebug>
@@ -9,6 +10,9 @@ namespace BlackSound
CBufferedWaveProvider::CBufferedWaveProvider(const QAudioFormat &format, QObject *parent) :
ISampleProvider(parent)
{
const QString on = QStringLiteral("%1 format: ").arg(this->metaObject()->className(), BlackSound::toQString(format));
this->setObjectName(on);
// Set buffer size to 10 secs
m_maxBufferSize = format.bytesForDuration(10 * 1000 * 1000);
}