ofDocsdocumentation sound ofPASoundStream

ofPASoundStream


close( )

void close()

getBufferSize( )

int getBufferSize()

getNumInputChannels( )

int getNumInputChannels()

getNumOutputChannels( )

int getNumOutputChannels()

getSampleRate( )

int getSampleRate()

getTickCount( )

long unsigned long getTickCount()

listDevices( )

void listDevices()

ofPASoundStream( )

ofPASoundStream()

paAudioCallback( ... )

int paAudioCallback(const void *inputBuffer, void *outputBuffer, unsigned long bufferSize, const PaStreamCallbackTimeInfo *streamTime, PaStreamCallbackFlags status, void *data)

setDeviceID( ... )

void setDeviceID(int deviceID)

setInput( ... )

void setInput(ofBaseSoundInput *soundInput)

setOutput( ... )

void setOutput(ofBaseSoundOutput *soundOutput)

setup( ... )

bool setup(int outChannels, int inChannels, int sampleRate, int bufferSize, int nBuffers)

setup( ... )

bool setup(ofBaseApp *app, int outChannels, int inChannels, int sampleRate, int bufferSize, int nBuffers)

start( )

void start()

stop( )

void stop()

~ofPASoundStream( )

~ofPASoundStream()

Variables

PaStream audio
int bufferSize
int deviceID
bool initialized
int nInputChannels
int nOutputChannels
int sampleRate
ofBaseSoundInput soundInputPtr
ofBaseSoundOutput soundOutputPtr
longunsignedlong tickCount