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

◆ cleanup_completed_branches()

void MayaFlux::Kriya::BufferPipeline::cleanup_completed_branches ( )
private

Definition at line 754 of file BufferPipeline.cpp.

755{
756 for (auto& branch : m_branches) {
757 if (branch.pipeline) {
758 branch.pipeline->m_active_self.reset();
759 }
760 }
761
762 std::erase_if(m_branch_tasks, [](const auto& task) {
763 return !task || !task->is_active();
764 });
765}
std::vector< BranchInfo > m_branches
std::vector< std::shared_ptr< Vruta::SoundRoutine > > m_branch_tasks

References m_branch_tasks, and m_branches.

Referenced by execute_phased(), and execute_streaming().

+ Here is the caller graph for this function: