DiskOutThread(): mQueue(NumberOfElements), mPool(NumberOfElements + 8) { using namespace std; loop(NumberOfElements, [&](){ Cmd * cmd = new Cmd(); memset(cmd, 0, sizeof(Cmd)); mPool.push( cmd ); }); mRunning = true; mThread = move(thread(bind(&DiskOutThread::cmdLoop, this))); }
inline_functions void ramp_nova_64(UnaryOpUGen *unit, int inNumSamples) { nova::clip_vec_simd<64>(OUT(0), wrap_argument(IN(0)), wrap_argument(0.f), wrap_argument(1.f)); }
FLATTEN void ramp_nova(UnaryOpUGen *unit, int inNumSamples) { nova::clip_vec_simd(OUT(0), wrap_argument(IN(0)), wrap_argument(0.f), wrap_argument(1.f), inNumSamples); }