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

◆ newest() [1/2]

template<typename T >
reference MayaFlux::Memory::HistoryBuffer< T >::newest ( )
inline

Get newest element (same as [0])

Returns
Reference to most recent sample

Definition at line 408 of file RingBuffer.hpp.

409 {
410 return m_data[m_head];
411 }

References MayaFlux::Memory::HistoryBuffer< T >::m_data, and MayaFlux::Memory::HistoryBuffer< T >::m_head.