MayaFlux 0.5.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 490 of file RingBuffer.hpp.

491 {
492 return m_data[m_head];
493 }

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