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

◆ update_read_position_for_channel()

void MayaFlux::Kakshya::SoundStreamContainer::update_read_position_for_channel ( size_t  channel,
uint64_t  frame 
)
overridevirtual

Update the read position for a specific channel.

Parameters
channelChannel index to update
frameNew position in the temporal dimension for the specified channel

Allows fine-grained control over individual channels in multi-channel streams.

Implements MayaFlux::Kakshya::StreamContainer.

Definition at line 405 of file SoundStreamContainer.cpp.

406{
407 if (channel < m_read_position.size()) {
408 m_read_position[channel].store(frame);
409 }
410}
std::vector< std::atomic< uint64_t > > m_read_position

References m_read_position.