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

◆ BlockFeedbackProcessor()

MayaFlux::Buffers::BlockFeedbackProcessor::BlockFeedbackProcessor ( Transform  transform,
size_t  lag_blocks = 1,
std::vector< double >  coefficients = {} 
)
Parameters
transformThe per-block function
lag_blocksHow many cycles back the earlier block lies, minimum 1
coefficientsInitial coefficient array, copied to each attached buffer

Definition at line 7 of file BlockFeedbackProcessor.cpp.

8 : m_transform(std::move(transform))
9 , m_lag_blocks(std::max<size_t>(lag_blocks, 1))
10 , m_coefficients(std::move(coefficients))
11{
12}
std::span< double > coefficients(const std::shared_ptr< Buffer > &buffer)
The coefficient array of one attached buffer, empty if it is not attached.

References max.