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

◆ route_to_container() [1/2]

BufferOperation MayaFlux::Kriya::BufferOperation::route_to_container ( std::shared_ptr< Kakshya::DynamicSoundStream >  target,
uint32_t  channel = 0 
)
static

Create a routing operation to DynamicSoundStream destination.

Each routed block is appended at the stream's write head for channel, wrapping if the stream is circular, so repeated routing records a continuous signal.

Parameters
targetTarget container to receive data.
channelChannel of the target that receives the data.
Returns
BufferOperation configured for container routing.
See also
route_to_buffer for usage intent and constraints.

Definition at line 385 of file BufferOperation.cpp.

386{
388 op.m_target_audio_stream = std::move(target);
389 op.m_target_audio_channel = channel;
390 return op;
391}
BufferOperation(OpType type, BufferCapture capture)
@ ROUTE
Route data to destination (buffer or container)
@ AUDIO_BACKEND
Standard audio processing backend configuration.

References MayaFlux::Buffers::AUDIO_BACKEND, m_target_audio_channel, m_target_audio_stream, and ROUTE.

Referenced by MayaFlux::record_into().

+ Here is the caller graph for this function: