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

◆ set_write_position_time()

void MayaFlux::Buffers::SoundStreamWriter::set_write_position_time ( double  time_seconds)

Set write position to a specific time offset.

Parameters
time_secondsTime offset in seconds from the beginning

Definition at line 41 of file SoundStreamWriter.cpp.

42{
43 if (m_container) {
44 m_write_position = m_container->time_to_position(time_seconds);
45 }
46}
std::shared_ptr< Kakshya::DynamicSoundStream > m_container
uint64_t m_write_position
Current write position in frames.

References m_container, and m_write_position.