mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T730, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
c1470f6069
commit
bde7baf84d
@@ -31,14 +31,16 @@ namespace BlackSound
|
||||
//! Ctor
|
||||
CBufferedWaveProvider(const QAudioFormat &format, QObject *parent = nullptr);
|
||||
|
||||
//! Add samples
|
||||
void addSamples(const QVector<qint16> &samples);
|
||||
|
||||
//! ISampleProvider::readSamples
|
||||
virtual int readSamples(QVector<qint16> &samples, qint64 count) override;
|
||||
|
||||
//! Bytes from buffer
|
||||
int getBufferedBytes() const { return m_audioBuffer.size(); }
|
||||
|
||||
|
||||
//! Clear the buffer
|
||||
void clearBuffer();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user