Loading...
Searching...
No Matches
Nodes::Looper::audio_snapshot Struct Reference

Detailed Description

The passes of a loop as they were, and the memory they are in: what a take written by a worker is flattened from, there, the looper being free to be gone by then. Made on the main thread; the processing thread fills it only while no job has it.

Public Member Functions

template<typename Out >
void flatten (int out_channels, Out &&out, int item=-1) const
 

Public Attributes

std::shared_ptr< audio_layers::pool_t > pool
 
std::array< audio_layer, audio_layers::max_passes > passes {}
 
int count {}
 
int channels {}
 
int64_t capacity {}
 
int64_t length {}
 

Member Function Documentation

◆ flatten()

template<typename Out >
void Nodes::Looper::audio_snapshot::flatten ( int  out_channels,
Out &&  out,
int  item = -1 
) const
inline

Worker thread: what is heard of the passes (item -1), or of pass item alone, as a muted pass would be heard, channels channels into out(c).


The documentation for this struct was generated from the following file: