|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< Kakshya::DynamicSoundStream > MayaFlux::create_ring | ( | double | seconds, |
| uint32_t | channels = 1 |
||
| ) |
Make a circular stream that keeps the most recent seconds of a signal.
The stream runs at the engine sample rate. Fill it with record_into and read it with taps that use lag, or copy its recent past with snapshot.
| seconds | How much of the past to keep. |
| channels | Number of channels. |
Definition at line 199 of file Rigs.cpp.
References MayaFlux::Journal::API, channels, MayaFlux::Journal::Configuration, MayaFlux::Config::get_sample_rate(), MF_ERROR, and rate.
Here is the call graph for this function: