Ref T730, OPUS de/encoder namespace

This commit is contained in:
Klaus Basan
2019-09-19 01:44:28 +02:00
committed by Mat Sutcliffe
parent 9809acd98c
commit 34d1e8268c
7 changed files with 169 additions and 105 deletions

View File

@@ -27,7 +27,6 @@
#include <QTimer>
#include <QDateTime>
namespace BlackCore
{
namespace Afv
@@ -91,7 +90,7 @@ namespace BlackCore
BufferedWaveProvider *audioInput;
QTimer m_timer;
COpusDecoder m_decoder;
BlackSound::Codecs::COpusDecoder m_decoder;
bool m_lastPacketLatch = false;
QDateTime m_lastSamplesAddedUtc;
bool m_underflow = false;

View File

@@ -90,7 +90,7 @@ namespace BlackCore
static constexpr qint64 c_frameSize = 960;
int m_sampleRate = 0;
COpusEncoder m_encoder;
BlackSound::Codecs::COpusEncoder m_encoder;
QScopedPointer<QAudioInput> m_audioInput;
bool m_started = false;