MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ arm_gap()

void MayaFlux::Core::SerialReader::arm_gap ( )
private

Definition at line 179 of file SerialReader.cpp.

180{
181 cancel_gap();
182 const auto delay = std::max(m_spec.gap, std::chrono::milliseconds(1));
183 m_gap_timer.store(m_link.post_after(delay, [this] { handle_gap(); }));
184}
std::atomic< ISerialLink::TimerToken > m_gap_timer
std::vector< double > delay(std::span< const double > data, uint32_t delay_samples, double fill_value)
Prepend delay_samples zero-valued (or fill_value) samples, returning a new vector.

References cancel_gap(), m_gap_timer, m_link, and m_spec.

Referenced by push().

Here is the call graph for this function:
Here is the caller graph for this function: