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

◆ set_on_end()

void MayaFlux::Buffers::StreamSliceProcessor::set_on_end ( std::function< void(size_t)>  cb)
inline

Register a callback fired when a slot's one-shot playback ends.

Parameters
cbInvoked with the slot index. Called from the processing thread.

Definition at line 89 of file StreamSliceProcessor.hpp.

89{ m_on_end = std::move(cb); }