CSL
6.0
|
#include <CSL_AbstComponent.h>
Public Member Functions | |
CSLAbstComponent () | |
~CSLAbstComponent () | |
virtual void | audioDeviceIOCallback (const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples) |
virtual void | audioDeviceAboutToStart (juce::AudioIODevice *device) |
virtual void | audioDeviceStopped () |
virtual void | recordOnOff () |
virtual void | startStop (csl::VoidFcnPtrN *fcn) |
virtual void | timerCallback () |
CSLAbstComponent (const CSLAbstComponent &) | |
const CSLAbstComponent & | operator= (const CSLAbstComponent &) |
Public Attributes | |
juce_UseDebuggingNewOperator juce::AudioDeviceManager | mAudioDeviceManager |
csl::Buffer | outBuffer |
GThread * | playThread |
LThread * | loopThread |
float | amplValue |
bool | loop |
bool | recrding |
bool | playing |
bool | displayMode |
bool | changed |
[Comments] CSLAbstComponent [/Comments]
Definition at line 92 of file CSL_AbstComponent.h.
CSLAbstComponent::CSLAbstComponent | ( | ) |
Definition at line 89 of file CSL_AbstComponent.cpp.
References error(), gAudioDeviceManager, loopThread, mAudioDeviceManager, playThread, and csl::IO::start().
CSLAbstComponent::~CSLAbstComponent | ( | ) |
Definition at line 143 of file CSL_AbstComponent.cpp.
References csl::Buffer::freeBuffers(), gFileBuffer, mAudioDeviceManager, playing, and startStop().
CSLAbstComponent::CSLAbstComponent | ( | const CSLAbstComponent & | ) |
|
virtual |
Reimplemented in CSLSignalComponent.
Definition at line 168 of file CSL_AbstComponent.cpp.
References amplValue, csl::Buffer::buffer(), gSampIndex, csl::kLogError, csl::logMsg(), csl::IO::mGraph, csl::IO::mInputBuffer, csl::Buffer::mNumFrames, outBuffer, playing, csl::IO::pullInput(), recrding, SAMPS_TO_WRITE, csl::Buffer::setBuffer(), csl::Buffer::setSize(), and csl::CException::what().
Referenced by CSLSignalComponent::audioDeviceIOCallback().
|
virtual |
Definition at line 257 of file CSL_AbstComponent.cpp.
|
virtual |
Definition at line 263 of file CSL_AbstComponent.cpp.
|
virtual |
Definition at line 230 of file CSL_AbstComponent.cpp.
References csl::Buffer::allocateBuffers(), gSampIndex, kSoundFileFormatAIFF, csl::logMsg(), csl::Buffer::mNumFrames, recrding, and SAMPS_TO_WRITE.
Referenced by CSLSignalComponent::buttonClicked(), and startStop().
|
virtual |
Definition at line 280 of file CSL_AbstComponent.cpp.
References csl::IO::clearRoot(), loop, loopThread, playing, playThread, recordOnOff(), recrding, and csl::sleepMsec().
Referenced by CSLSignalComponent::buttonClicked(), and ~CSLAbstComponent().
|
virtual |
Definition at line 269 of file CSL_AbstComponent.cpp.
References gAudioDeviceManager, and gCPULabel.
const CSLAbstComponent& CSLAbstComponent::operator= | ( | const CSLAbstComponent & | ) |
juce_UseDebuggingNewOperator juce::AudioDeviceManager CSLAbstComponent::mAudioDeviceManager |
Definition at line 121 of file CSL_AbstComponent.h.
Referenced by CSLSignalComponent::buttonClicked(), CSLAbstComponent(), and ~CSLAbstComponent().
csl::Buffer CSLAbstComponent::outBuffer |
Definition at line 122 of file CSL_AbstComponent.h.
Referenced by audioDeviceIOCallback().
GThread* CSLAbstComponent::playThread |
Definition at line 123 of file CSL_AbstComponent.h.
Referenced by CSLAbstComponent(), and startStop().
LThread* CSLAbstComponent::loopThread |
Definition at line 124 of file CSL_AbstComponent.h.
Referenced by CSLSignalComponent::buttonClicked(), CSLAbstComponent(), and startStop().
float CSLAbstComponent::amplValue |
Definition at line 125 of file CSL_AbstComponent.h.
Referenced by audioDeviceIOCallback(), and CSLSignalComponent::sliderValueChanged().
bool CSLAbstComponent::loop |
Definition at line 126 of file CSL_AbstComponent.h.
Referenced by CSLSignalComponent::buttonClicked(), and startStop().
bool CSLAbstComponent::recrding |
Definition at line 126 of file CSL_AbstComponent.h.
Referenced by audioDeviceIOCallback(), CSLSignalComponent::buttonClicked(), recordOnOff(), and startStop().
bool CSLAbstComponent::playing |
Definition at line 126 of file CSL_AbstComponent.h.
Referenced by audioDeviceIOCallback(), CSLSignalComponent::buttonClicked(), startStop(), and ~CSLAbstComponent().
bool CSLAbstComponent::displayMode |
Definition at line 126 of file CSL_AbstComponent.h.
bool CSLAbstComponent::changed |
Definition at line 126 of file CSL_AbstComponent.h.