Loading...
Searching...
No Matches
Execution::ManualClock::StepGate Struct Reference

Detailed Description

Runs the execution tick on the audio thread, for exactly the samples the UI thread requested.

Public Member Functions

 StepGate (ossia::audio_engine::fun_type t, int64_t bs, double rate, int ins, int outs)
 
int64_t samplesAt (double seconds) const noexcept
 
void run (const ossia::audio_tick_state &t)
 
bool waitFor (int64_t target, const ossia::audio_engine &engine)
 

Public Attributes

ossia::audio_engine::fun_type tick
 
int64_t bufferSize {512}
 
double sampleRate {44100.}
 
std::vector< std::vector< float > > inputs
 
std::vector< std::vector< float > > outputs
 
std::vector< float * > inputPointers
 
std::vector< float * > outputPointers
 
std::atomic< int64_t > requested {}
 
std::atomic< int64_t > done {}
 

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