|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::CursorAccessProcessor::set_speed | ( | double | speed | ) |
Set the playback speed relative to nominal rate.
Speed is applied as a fractional frame accumulator: each process() call advances the cursor by m_frames_per_block * m_speed frames, with the sub-frame remainder carried in m_speed_remainder for the next call. Speed 1.0 is the default (no accumulator overhead). Values <= 0.0 are ignored.
| speed | Playback speed multiplier (1.0 = normal). |
Definition at line 143 of file CursorAccessProcessor.cpp.
References m_speed.