22 #ifndef __JUCER_HEADER_CSLABCOMPONENT_CSLTESTCOMPONENT_AC44DB4F__
23 #define __JUCER_HEADER_CSLABCOMPONENT_CSLTESTCOMPONENT_AC44DB4F__
44 #include "JuceHeader.h"
51 typedef void* (*ThreadFunc)(
void*);
60 void * (*fcn)(
void *);
75 : Thread(
"CSL Thread"),
93 public juce::AudioIODeviceCallback,
102 int totalNumInputChannels,
103 float** outputChannelData,
104 int totalNumOutputChannels,
116 juce_UseDebuggingNewOperator
138 public juce::Button::Listener,
139 public juce::ComboBox::Listener,
140 public juce::Slider::Listener {
146 virtual void buttonClicked (juce::Button* buttonThatWasClicked);
151 int totalNumInputChannels,
152 float** outputChannelData,
153 int totalNumOutputChannels,
167 #endif // __JUCER_HEADER_CSLCOMPONENT_CSLTESTCOMPONENT_AC44DB4F__
juce::TextButton * quitButton
void *(* ThreadFunc)(void *)
This is the CSL_AbstComponent JUCE wrapper for the CSL demos.
juce::ToggleButton * loopButton
bool sleepMsec(float dur)
virtual void comboBoxChanged(juce::ComboBox *comboBoxThatHasChanged)
virtual void audioDeviceIOCallback(const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples)
GThread takes a CSL test function and runs it.
const CSLAbstComponent & operator=(const CSLAbstComponent &)
juce_UseDebuggingNewOperator juce::AudioDeviceManager mAudioDeviceManager
void VoidFcnPtrN(void)
the truly void fcn pointer
virtual void buttonClicked(juce::Button *buttonThatWasClicked)
virtual void audioDeviceStopped()
virtual void sliderValueChanged(juce::Slider *sliderThatWasMoved)
virtual void audioDeviceAboutToStart(juce::AudioIODevice *device)
LThread(GThread *athr, CSLAbstComponent *acomp, bool looper)
juce::Slider * amplitudeSlider
juce::ToggleButton * recordButton
virtual void timerCallback()
juce::TextButton * prefsButton
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
virtual void audioDeviceIOCallback(const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples)
juce::TextButton * playButton
Buttons, sliders and meters.
virtual void startStop(csl::VoidFcnPtrN *fcn)
virtual void recordOnOff()