update commenting;

82-dvmbridge---implement-notch-filter-for-2175hz-trc-guard-tone
Bryan Biedenkapp 12 months ago
parent 1e458ce682
commit f483bbf2ed

@ -2338,7 +2338,7 @@ void HostBridge::encodeP25AudioFrame(uint8_t* pcm, uint32_t forcedSrcId, uint32_
m_p25N++;
}
/* Helper to generate the preamble tone. */
/* Helper to generate the single-tone preamble tone. */
void HostBridge::generatePreambleTone()
{
@ -2350,6 +2350,8 @@ void HostBridge::generatePreambleTone()
return;
}
ma_waveform_set_frequency(&m_maSineWaveform, m_preambleTone);
ma_uint32 pcmBytes = frameCount * ma_get_bytes_per_frame(m_maDevice.capture.format, m_maDevice.capture.channels);
UInt8Array __sine = std::make_unique<uint8_t[]>(pcmBytes);
uint8_t* sine = __sine.get();

@ -447,7 +447,7 @@ private:
uint8_t* generateRTPHeaders(uint8_t msgLen, uint16_t& rtpSeq);
/**
* @brief Helper to generate the preamble tone.
* @brief Helper to generate the single-tone preamble tone.
*/
void generatePreambleTone();

Loading…
Cancel
Save

Powered by TurnKey Linux.