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

◆ time_to_position()

uint64_t MayaFlux::Kakshya::SoundStreamContainer::time_to_position ( double  time) const
overridevirtual

Convert from time (seconds) to position units (e.g., frame/sample index).

Parameters
timeTime value (interpretation depends on container type)
Returns
Corresponding position in primary dimension

Supports time-based seeking and integration with time-aware workflows.

Implements MayaFlux::Kakshya::StreamContainer.

Definition at line 474 of file SoundStreamContainer.cpp.

475{
477}
uint64_t time_to_position(double time, double sample_rate)
Convert time (seconds) to position (samples/frames) given a sample rate.

References m_sample_rate, and MayaFlux::Kakshya::time_to_position().

+ Here is the call graph for this function: