31 #ifndef __TT_AUDIOENGINE_H__
32 #define __TT_AUDIOENGINE_H__
52 TTListPtr mCallbackObservers;
85 static TTErr destroy();
119 TTErr getAvailableInputDeviceNames(
const TTValue& unusedInput,
TTValue& returnedDeviceNames);
127 TTErr getAvailableOutputDeviceNames(
const TTValue& unusedInput,
TTValue& returnedDeviceNames);
174 TTErr addCallbackObserver(
const TTValue& objectToReceiveNotifications,
TTValue& unusedOutput);
180 TTErr removeCallbackObserver(
const TTValue& objectCurrentlyReceivingNotifications,
TTValue& unusedOutput);
211 unsigned long frameCount,
218 #endif // __TT_AUDIOENGINE_H__
bool TTBoolean
Boolean flag, same as Boolean on the Mac.
std::uint16_t TTUInt16
16 bit unsigned integer
void PaStream
A single PaStream can provide multiple channels of real-time streaming audio input and output to a cl...
const PaDeviceInfo * mInputDeviceInfo
A structure providing information and capabilities of PortAudio devices, including information on lat...
A structure providing information and capabilities of PortAudio devices.
Base class for all first-class Jamoma objects.
TTUInt32 mSampleRate
Sample rate.
int TTAudioEngineStreamCallback(const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData)
A C-function used for the callback from PortAudio.
TTBoolean mIsRunning
A flag indicating if audio is currently being processed.
A type that represents the key as a C-String and the value as a pointer to the matching TTSymbol obje...
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
std::int16_t TTInt16
16 bit signed integer
TTUInt16 mVectorSize
Vector size (frames per buffer)
static TTDictionaryPtr sDictionary
We use a dictionary to map the singleton instance to a symbol.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
TTSymbol mInputDevice
The audio device used for audio input.
float TTFloat32
32 bit floating point number
The TTAudioSignal class represents N vectors of audio samples for M channels.
TTSymbol mOutputDevice
The audio device used for audio output.
std::int32_t TTInt32
32 bit signed integer
Represents M channels containing N vectors of audio samples.
unsigned long PaStreamCallbackFlags
Flag bit constants for the statusFlags to PaStreamCallback.
TTUInt16 TTChannelCount
Data type used when counting the number of channels in multi-channel audio signals and processes...
const PaDeviceInfo * mOutputDeviceInfo
A structure providing information and capabilities of PortAudio devices, including information on lat...
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
std::uint32_t TTUInt32
32 bit unsigned integer
TTAudioEngine * TTAudioEnginePtr
A pointer to a TTAudioEngine.
The TTAudioEngine class is the Audio Engine of Jamoma DSP.
TTChannelCount mNumInputChannels
The number of input channels.
[doxygenAppendixC_copyExample]
Timing information for the buffers passed to the stream callback.
TTChannelCount mNumOutputChannels
The number of output channels.