mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
[AFV] misc style issues:
* object name * simple style fixes * some renamings * comments
This commit is contained in:
committed by
Mat Sutcliffe
parent
c1622951b3
commit
7d51bedc3e
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user