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

◆ set_repeat()

void MayaFlux::Kakshya::FrameSeekProcessor::set_repeat ( const std::shared_ptr< const Kinesis::TimeMap > &  length)

Restart the time map over and over, with a length that can change.

Needs a time map. The length map takes seconds since the last reset() and returns how long, in seconds, the repeat that starts then should last. Each repeat restarts the time map from zero.

Parameters
lengthRepeat length in seconds, or null for no repeating.

Definition at line 30 of file FrameSeekProcessor.cpp.

31{
32 if (length == m_repeat) {
33 return;
34 }
35
39}
uint64_t length
Definition Composite.cpp:11
std::shared_ptr< const Kinesis::TimeMap > m_repeat

References length, m_repeat, m_repeat_length, and m_repeat_start.