18 class JUCEIO :
public IO,
public juce::AudioIODeviceCallback {
22 int in_device = 0,
int out_device = 0,
23 unsigned in_chans = 0,
unsigned out_chans = 2);
33 float** outputChannelData,
int totalNumOutputChannels,
46 #endif // CSL_JACKIO_H
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void start()
start my timer thread
JUCEIO(unsigned s_rate=CSL_mFrameRate, unsigned b_size=CSL_mBlockSize, int in_device=0, int out_device=0, unsigned in_chans=0, unsigned out_chans=2)
< Constructor (stereo by default)
JUCEIO is an IO that runs as a JUCE.
void close()
open/close start/stop methods
#define CSL_mFrameRate
default sample rate (tested up to 96000)
juce::AudioDeviceManager audioDeviceManager
JUCE AudioDeviceManager.
void audioDeviceIOCallback(const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples)
void audioDeviceAboutToStart(juce::AudioIODevice *)
JUCE methods.
void audioDeviceStopped()
IO – the abstract I/O scheduling class; subclasses interface to specific I/O APIs.
virtual ~JUCEIO()
open/close start/stop methods
void open()
open/close start/stop methods
void stop()
stop the timer thread
#define CSL_mBlockSize
normal hosts
Base class of CSL exceptions (written upper-case). Has a string message.