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

◆ get_write_position_time()

double MayaFlux::Buffers::SoundStreamWriter::get_write_position_time ( ) const

Get current write position as time offset.

Returns
Current write position in seconds from the beginning

Definition at line 48 of file SoundStreamWriter.cpp.

49{
50 if (m_container) {
51 return m_container->position_to_time(m_write_position);
52 }
53 return 0.0;
54}
std::shared_ptr< Kakshya::DynamicSoundStream > m_container
uint64_t m_write_position
Current write position in frames.

References m_container, and m_write_position.