|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
|
inline |
Resize buffer capacity.
| new_capacity | New maximum number of samples |
Preserves existing data in temporal order. If growing, new slots filled with zeros. If shrinking, oldest data discarded. Count always equals capacity after resize.
Definition at line 527 of file RingBuffer.hpp.
References MayaFlux::Memory::HistoryBuffer< T >::m_capacity, MayaFlux::Memory::HistoryBuffer< T >::m_count, MayaFlux::Memory::HistoryBuffer< T >::m_data, MayaFlux::Memory::HistoryBuffer< T >::m_head, and MayaFlux::Memory::HistoryBuffer< T >::m_linear_view.
Referenced by MayaFlux::Nodes::Generator::Polynomial::set_buffer_function().
Here is the caller graph for this function: