|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::DynamicSoundStream::ensure_capacity | ( | uint64_t | required_frames | ) |
Pre-allocate capacity for the specified number of frames.
Essential for real-time scenarios where allocation delays are unacceptable.
| required_frames | Minimum number of frames the container should hold |
Definition at line 308 of file DynamicSoundStream.cpp.
References expand_to(), MayaFlux::Kakshya::SoundStreamContainer::get_num_channels(), and MayaFlux::Kakshya::SoundStreamContainer::get_total_elements().
Referenced by enable_circular_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: