ofDocsdocumentation addons ofxiOS ofxiOSSoundStream

ofxiOSSoundStream


close( )

void close()

getBufferSize( )

int getBufferSize()

getNumInputChannels( )

int getNumInputChannels()

getNumOutputChannels( )

int getNumOutputChannels()

getSampleRate( )

int getSampleRate()

getTickCount( )

long unsigned long getTickCount()

listDevices( )

void listDevices()

these are not implemented on iOS


ofxiOSSoundStream( )

ofxiOSSoundStream()

setDeviceID( ... )

void setDeviceID(int deviceID)

setInput( ... )

void setInput(ofBaseSoundInput *soundInput)

setMixWithOtherApps( ... )

bool setMixWithOtherApps(bool bMix)

setOutput( ... )

void setOutput(ofBaseSoundOutput *soundOutput)

setup( ... )

bool setup(int numOfOutChannels, int numOfInChannels, int sampleRate, int bufferSize, int numOfBuffers)

currently, the number of buffers is always 1 on iOS and setting nBuffers has no effect the max buffersize is 4096


setup( ... )

bool setup(ofBaseApp *app, int numOfOutChannels, int numOfInChannels, int sampleRate, int bufferSize, int numOfBuffers)

start( )

void start()

stop( )

void stop()

~ofxiOSSoundStream( )

~ofxiOSSoundStream()

Variables

int bufferSize
int numOfBuffers
int numOfInChannels
int numOfOutChannels
int sampleRate
ofBaseSoundInput* soundInputPtr
void* soundInputStream
ofBaseSoundOutput* soundOutputPtr
void* soundOutputStream