|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::route_buffer | ( | const std::shared_ptr< Buffers::AudioBuffer > & | buffer, |
| uint32_t | target_channel, | ||
| uint32_t | num_blocks, | ||
| const Buffers::ProcessingToken & | token = Buffers::ProcessingToken::AUDIO_BACKEND |
||
| ) |
Routes a buffer from its current channel to a target channel with fade.
| buffer | Buffer to route |
| target_channel | Destination channel |
| num_blocks | Crossfade duration in processing blocks |
| token | Processing domain |
NOTE: num_blocks is in processing blocks, not samples. The actual time duration will depend on the block size and sample rate.
Definition at line 319 of file Graph.cpp.
References get_buffer_manager().
Here is the call graph for this function: