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

◆ slice_from_range()

Kakshya::StreamSlice MayaFlux::Kriya::SamplingPipeline::slice_from_range ( uint64_t  start_frame,
uint64_t  end_frame,
uint8_t  index = 0 
) const
inline

Construct a slice spanning a frame sub-region.

Parameters
start_frameInclusive start frame.
end_frameInclusive end frame.
indexSlot identity.

Definition at line 209 of file SamplingPipeline.hpp.

211 {
212
213 if (!m_stream) {
215 "SamplingPipeline::slice_from_range called with null stream");
216 return {};
217 }
218 return Kakshya::StreamSlice::from_frame_range(m_stream, start_frame, end_frame, index);
219 }
#define MF_ERROR(comp, ctx,...)
std::shared_ptr< Kakshya::DynamicSoundStream > m_stream
@ Configuration
Configuration and parameter updates.
@ Kriya
Automatable tasks and fluent scheduling api for Nodes and Buffers.
static StreamSlice from_frame_range(std::shared_ptr< DynamicSoundStream > stream, uint64_t start_frame, uint64_t end_frame, uint8_t index=0)
Construct a slice spanning a frame sub-region across all channels.

References MF_ERROR.