mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 23:15:14 +00:00
Ensure we have at least 75ms of audio before transmitting
This commit is contained in:
parent
9137af8e3f
commit
72cd2ce03e
3 changed files with 59 additions and 49 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
class CFMUpSampler {
|
||||
public:
|
||||
CFMUpSampler(uint16_t length);
|
||||
CFMUpSampler();
|
||||
|
||||
void reset();
|
||||
|
||||
|
|
@ -39,8 +39,10 @@ public:
|
|||
|
||||
private:
|
||||
uint8_t m_upSampleIndex;
|
||||
TSamplePairPack m_pack;
|
||||
CRingBuffer<q15_t> m_samples;
|
||||
uint32_t m_pack;
|
||||
uint8_t * m_packPointer;
|
||||
CRingBuffer<TSamplePairPack> m_samples;
|
||||
bool m_running;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue