mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
DSD demod plugin: prepare dual TDMA slot audio handling (DV serial part)
This commit is contained in:
parent
db96243875
commit
409a4e2292
@ -35,9 +35,9 @@ public:
|
||||
void resetAudio1() { m_decoder.resetAudio1(); }
|
||||
void enableMbelib(bool enable) { m_decoder.enableMbelib(enable); }
|
||||
|
||||
bool mbeDVReady() const { return m_decoder.mbeDVReady(); }
|
||||
void resetMbeDV() { m_decoder.resetMbeDV(); }
|
||||
const unsigned char *getMbeDVFrame() const { return m_decoder.getMbeDVFrame(); }
|
||||
bool mbeDVReady1() const { return m_decoder.mbeDVReady1(); }
|
||||
void resetMbeDV1() { m_decoder.resetMbeDV1(); }
|
||||
const unsigned char *getMbeDVFrame1() const { return m_decoder.getMbeDVFrame1(); }
|
||||
int getMbeRateIndex() const { return (int) m_decoder.getMbeRate(); }
|
||||
|
||||
int getInLevel() const { return m_decoder.getInLevel(); }
|
||||
|
@ -192,12 +192,12 @@ void DSDDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
|
||||
m_scopeSampleBuffer.push_back(s);
|
||||
}
|
||||
|
||||
if (DSPEngine::instance()->hasDVSerialSupport() && m_dsdDecoder.mbeDVReady())
|
||||
if (DSPEngine::instance()->hasDVSerialSupport() && m_dsdDecoder.mbeDVReady1())
|
||||
{
|
||||
if (!m_running.m_audioMute) {
|
||||
DSPEngine::instance()->pushMbeFrame(m_dsdDecoder.getMbeDVFrame(), m_dsdDecoder.getMbeRateIndex(), m_running.m_volume, &m_audioFifo);
|
||||
DSPEngine::instance()->pushMbeFrame(m_dsdDecoder.getMbeDVFrame1(), m_dsdDecoder.getMbeRateIndex(), m_running.m_volume, &m_audioFifo);
|
||||
}
|
||||
m_dsdDecoder.resetMbeDV();
|
||||
m_dsdDecoder.resetMbeDV1();
|
||||
}
|
||||
|
||||
m_interpolatorDistanceRemain += m_interpolatorDistance;
|
||||
|
Loading…
Reference in New Issue
Block a user