14 mThread = juce::Thread::MakeThread();
18 int in_device,
int out_device,
19 unsigned in_chans,
unsigned out_chans)
20 :
IO(s_rate, b_size, in_device, out_device, in_chans, out_chans) {
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void pullInput(Buffer &outBuffer, SampleBuffer out=0)
get a buffer from the CSL graph
static Synch * MakeSynch()
Factory method Utilities.
Sync is a cross-thread synchronization object.
Synch * mSynch
the sync I wait on
virtual void start()
start my timer thread
IO – the abstract I/O scheduling class; subclasses interface to specific I/O APIs.
NullIO is an IO that uses a thread and a timer to call its graph's nextBuffer(); it doesn't do anythi...
juce::Thread * mThread
whether or not I'm running
static void * FeederFunction(void *arg)
shared init function
virtual void stop()
stop the timer thread
static void * FeederFunction(void *arg)
shared init function
Buffer mOutputBuffer
the output buffer I use (passed to nextBuffer calls)
virtual int condSignal()=0
void stop()
stop the timer thread
void start()
start my timer thread
Base class of CSL exceptions (written upper-case). Has a string message.
StdIO reads/write the UNIX Standard IO pipes.