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

◆ cleanup_completed_branches()

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

Definition at line 696 of file BufferPipeline.cpp.

697{
698 for (auto& branch : m_branches) {
699 if (branch.pipeline) {
700 branch.pipeline->m_active_self.reset();
701 }
702 }
703
704 m_branch_tasks.erase(
705 std::remove_if(m_branch_tasks.begin(), m_branch_tasks.end(),
706 [](const auto& task) { return !task || !task->is_active(); }),
707 m_branch_tasks.end());
708}
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: