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

◆ route_to_buffer() [1/4]

BufferOperation MayaFlux::Kriya::BufferOperation::route_to_buffer ( std::shared_ptr< Buffers::AudioBuffer >  target)
static

Create a routing operation to AudioBuffer destination.

Parameters
targetTarget AudioBuffer to receive data.
Returns
BufferOperation configured for buffer routing.

ROUTE is a batch output operation. It writes the accumulated or transformed result of a pipeline into a target buffer or container after processing is complete. It is not intended for live per-cycle routing: that is covered by supply, clone, and processing chains on individual buffers. The typical use is to accumulate or transform over N cycles via CAPTURE/TRANSFORM, then route the result to a buffer or DynamicSoundStream for playback or storage via SoundContainerBuffer.

Definition at line 354 of file BufferOperation.cpp.

355{
357 op.m_target_audio_buffer = std::move(target);
358 return op;
359}
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_buffer, and ROUTE.

Referenced by route_to_buffer(), and route_to_buffer().

+ Here is the caller graph for this function: