MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / enqueue

Method enqueue

src/gui/Ax25HfPacketDecodeDialog.cpp:727–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725 }
726
727 void enqueue(const float* shape, int count, SampleKind kind)
728 {
729 // Bound the backlog so a burst can't lag the pen seconds behind
730 // real time; newest data wins, matching the TX queue philosophy.
731 if (m_pending.size() > 96)
732 m_pending.clear();
733 for (int i = 0; i < count; ++i)
734 m_pending.append({ shape[i], quint8(kind) });
735 }
736
737 void wake()
738 {

Callers 3

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected