ofDocsdocumentation addons ofxAndroid ofxAndroidSoundStream

ofxAndroidSoundStream


androidInputAudioCallback( ... )

int androidInputAudioCallback(int *env, int thiz, int array, int numChannels, int bufferSize)

androidOutputAudioCallback( ... )

int androidOutputAudioCallback(int *env, int thiz, int array, int numChannels, int bufferSize)

close( )

void close()

getBufferSize( )

int getBufferSize()

getDeviceID( )

int getDeviceID()

getDeviceList( )

int getDeviceList()

getMinInBufferSize( ... )

int getMinInBufferSize(int samplerate, int nchannels)

getMinOutBufferSize( ... )

int getMinOutBufferSize(int samplerate, int nchannels)

getNumInputChannels( )

int getNumInputChannels()

getNumOutputChannels( )

int getNumOutputChannels()

getSampleRate( )

int getSampleRate()

getTickCount( )

unsigned long long getTickCount()

isHeadPhonesConnected( )

bool isHeadPhonesConnected()

ofxAndroidSoundStream( )

ofxAndroidSoundStream()

pause( )

void pause()

resume( )

void resume()

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()

~ofxAndroidSoundStream( )

~ofxAndroidSoundStream()

Variables

short* in_buffer
float* in_float_buffer
ofxAndroidCircBuffer input_buffer
bool isPaused
short* out_buffer
float* out_float_buffer
int requestedBufferSize
ofBaseSoundInput* soundInputPtr
ofBaseSoundOutput* soundOutputPtr
longunsignedlong tickCount
int totalInRequestedBufferSize
int totalOutRequestedBufferSize