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

◆ set_processing_rate_hint()

template<typename BufferType >
virtual void MayaFlux::Buffers::RootBuffer< BufferType >::set_processing_rate_hint ( uint32_t  tick_rate)
inlinevirtual

Sets processing rate hint for the buffer.

Parameters
samples_per_secondExpected processing rate for this token

This helps the buffer optimize its processing for different rates. Audio might be 48kHz, visual might be 60Hz, custom might be variable.

Definition at line 133 of file RootBuffer.hpp.

133{ m_processing_rate_hint = tick_rate; }
uint32_t m_processing_rate_hint
Processing rate hint for this buffer.