|
| using | SampleRange = std::pair<units::sample_t, units::sample_t> |
| using | RunOnMainThread = std::function<void (std::function<void ()>)> |
|
| static QFuture< juce::AudioSampleBuffer > | render_async (RenderOptions options, graph::GraphNodeCollection &&nodes, RunOnMainThread run_on_main_thread, SampleRange range, const dsp::TempoMap &tempo_map) |
| | Executes render() asynchronously and returns a QFuture to control the task.
|
Definition at line 15 of file graph_renderer.h.
◆ RunOnMainThread
| using zrythm::dsp::GraphRenderer::RunOnMainThread = std::function<void (std::function<void ()>)> |
◆ SampleRange
| using zrythm::dsp::GraphRenderer::SampleRange = std::pair<units::sample_t, units::sample_t> |
◆ render_async()
| QFuture< juce::AudioSampleBuffer > zrythm::dsp::GraphRenderer::render_async |
( |
RenderOptions | options, |
|
|
graph::GraphNodeCollection && | nodes, |
|
|
RunOnMainThread | run_on_main_thread, |
|
|
SampleRange | range, |
|
|
const dsp::TempoMap & | tempo_map ) |
|
static |
Executes render() asynchronously and returns a QFuture to control the task.
- Parameters
-
| options | |
| nodes | |
| range | |
| run_on_main_thread | Used to invoke logic that needs to run on the main thread (like graph node prepare_for_processing, etc.). |
| tempo_map | Tempo map for timing calculations during rendering. |
The documentation for this class was generated from the following file: