|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< BufferPipeline > MayaFlux::Kriya::record_into | ( | const std::shared_ptr< Vruta::TaskScheduler > & | scheduler, |
| const std::shared_ptr< Buffers::BufferManager > & | buffer_manager, | ||
| const std::shared_ptr< Kakshya::DynamicSoundStream > & | stream, | ||
| const std::shared_ptr< Buffers::AudioBuffer > & | listener, | ||
| uint32_t | input_channel, | ||
| uint64_t | cycles, | ||
| std::optional< uint32_t > | monitor = std::nullopt, | ||
| uint32_t | stream_channel = 0 ) |
Record a live input channel into a stream through a listener buffer you supply.
Like record, but for a listener that already exists, for example the one record returned: it registers listener on input_channel again, mixes it to monitor if given, and starts a new pipeline that ends after cycles blocks and releases the listener the same way.
| listener | The buffer that receives the input. |
Definition at line 342 of file BufferPipeline.cpp.
References MayaFlux::Buffers::AUDIO_BACKEND.
Referenced by MayaFlux::record_into().