Esempio n. 1
0
	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));
}
Esempio n. 3
0
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);
}