|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| uint64_t MayaFlux::Kakshya::DynamicSoundStream::write_frames | ( | std::span< const double > | data, |
| uint64_t | start_frame = 0, |
||
| uint32_t | channel = 0 |
||
| ) |
Write audio frame data to the container with automatic capacity management.
| data | Span of interleaved audio samples to write |
| start_frame | Frame index where writing begins (default: append at end) % |
| channel | Channel index for planar data (default: 0) |
Definition at line 163 of file DynamicSoundStream.cpp.
References expand_to(), MayaFlux::Kakshya::SoundStreamContainer::get_num_channels(), MayaFlux::Kakshya::INTERLEAVED, MayaFlux::Kakshya::SoundStreamContainer::invalidate_span_cache(), MayaFlux::Kakshya::SoundStreamContainer::lock(), m_circular_capacity, MayaFlux::Kakshya::SoundStreamContainer::m_data, MayaFlux::Kakshya::SoundStreamContainer::m_data_mutex, MayaFlux::Kakshya::SoundStreamContainer::m_double_extraction_dirty, m_is_circular, MayaFlux::Kakshya::SoundStreamContainer::m_num_frames, MayaFlux::Kakshya::SoundStreamContainer::m_structure, MayaFlux::Kakshya::ContainerDataStructure::organization, validate_single_channel(), and write_frames().
Referenced by write_frames(), and write_frames().
Here is the call graph for this function:
Here is the caller graph for this function: