|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Extract one block of frames into container processed_data[0].
If inactive, fills processed_data[0] with silence and returns. Advances m_cursor by m_frames_per_block after each active read. On reaching the loop end, wraps to m_loop_start if looping, otherwise deactivates and fires m_on_end if set.
| container | Must be the DynamicSoundStream passed to on_attach. |
Implements MayaFlux::Kakshya::DataProcessor.
Definition at line 46 of file CursorAccessProcessor.cpp.
References MayaFlux::Journal::ContainerProcessing, MayaFlux::Kakshya::ContainerDataStructure::get_channel_count(), MayaFlux::Kakshya::ContainerDataStructure::get_samples_count_per_channel(), MayaFlux::Kakshya::INTERLEAVED, MayaFlux::Journal::Kakshya, loop_end(), m_active, m_cursor, m_frames_per_block, m_is_processing, m_loop_count, m_loop_end, m_loop_start, m_looping, m_loops_remaining, m_on_end, m_slot_index, m_speed, m_speed_remainder, m_structure, MF_RT_ERROR, MayaFlux::Kakshya::ContainerDataStructure::organization, and MayaFlux::Kakshya::safe_copy_data_variant().
Here is the call graph for this function: