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 740 of file BufferPipeline.cpp.

741{
742 for (auto& branch : m_branches) {
743 if (branch.pipeline) {
744 branch.pipeline->m_active_self.reset();
745 }
746 }
747
748 std::erase_if(m_branch_tasks, [](const auto& task) {
749 return !task || !task->is_active();
750 });
751}
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: