Ref T730, removed unused timer code in input

This commit is contained in:
Klaus Basan
2019-10-07 18:07:37 +02:00
committed by Mat Sutcliffe
parent 713d2ee626
commit ca90a225e1
2 changed files with 15 additions and 18 deletions

View File

@@ -51,15 +51,9 @@ namespace BlackCore
//! Frame is available
void frameAvailable(const QByteArray &frame);
protected:
//! \copydoc QIODevice::timerEvent
void timerEvent(QTimerEvent *event) override;
private:
static constexpr qint64 frameSize = 960;
qint64 m_lastFrameSent = -1;
QByteArray m_buffer;
int m_timerId = 0;
};
struct OpusDataAvailableArgs
@@ -133,7 +127,7 @@ namespace BlackCore
qint16 m_maxSampleInput = 0.0;
const int SampleCountPerEvent = 4800;
const double maxDb = 0;
const double maxDb = 0;
const double minDb = -40;
uint m_audioSequenceCounter = 0;