|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| auto MayaFlux::create_processor | ( | const std::shared_ptr< Buffers::AudioBuffer > | buffer, |
| Args &&... | args | ||
| ) | -> std::shared_ptr<ProcessorType> |
Creates a new processor and adds it to a buffer.
| ProcessorType | Type of processor to create (must be derived from BufferProcessor) |
| Args | Constructor argument types |
| buffer | Buffer to add the processor to |
| args | Constructor arguments for the processor |
This function creates a new processor of the specified type, initializes it with the provided arguments, and adds it to the specified buffer's processing chain.
Definition at line 286 of file Graph.hpp.
References add_processor().
Here is the call graph for this function: