mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Ref T730, OPUS de/encoder namespace
This commit is contained in:
committed by
Mat Sutcliffe
parent
9809acd98c
commit
34d1e8268c
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user