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

Detailed Description

A flattened audio loop to write, prepared on the processing thread and run by a worker. The processing thread does not touch the buffer again until the worker's result has come back.

Public Member Functions

bool write (const float *const *data)
 
bool run ()
 
bool run_stop ()
 

Public Attributes

std::shared_ptr< take_writer > writer
 
std::shared_ptr< export_buffer > audio
 
std::shared_ptr< audio_stop_take > stop
 
int slot {}
 
int number {}
 Number of the take, 0 for a new one; -1 for the mix, else the layer.
 
int layer {-1}
 
int channels {}
 
int rate {}
 
bool alone {}
 
int64_t frames {}
 
double tempo {}
 
int meter_numerator {4}
 
int meter_denominator {4}
 

Member Function Documentation

◆ run_stop()

bool Nodes::Looper::take_job::run_stop ( )
inline

The mix, then each pass, under one take number, flattened here. The pool is let go of here as well, so that the processing thread never frees it.

Member Data Documentation

◆ stop

std::shared_ptr<audio_stop_take> Nodes::Looper::take_job::stop

The take the score's stop leaves: every file of it, written whatever the looper does meanwhile, from stop rather than from audio.


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