- english
- /
- japanese
methods
- close()
- getSoundStream()
- getTickCount()
- listDevices()
- setDeviceID()
- setInput()
- setOutput()
- setSoundStream()
- setup()
- start()
- stop()
functions
setup(...)
bool ofSoundStream::setup(ofBaseApp *app, int outChannels, int inChannels, int sampleRate, int bufferSize, int nBuffers)
setup(...)
bool ofSoundStream::setup(int outChannels, int inChannels, int sampleRate, int bufferSize, int nBuffers)
ofSoundStreamSetup(...)
void ofSoundStreamSetup(int nOutputs, int nInputs, ofSimpleApp * OFSA)
Sets up the audio, with nOutputs channels of audio out, nInputs channels of audio in. You also must pass in a pointer to the ofSimpleApp, so you can just use the word "this". For example, for 2 channel output, call in the setup function:
ofSoundStreamSetup(2,0,this);
In this simplified call, the bufferSize, sampleRate, and number of buffers (for latency) are all set to defaults.
ofSoundStreamSetup(...)
void ofSoundStreamSetup(int nOutputs, int nInputs, ofSimpleApp * OFSA, int sampleRate, int bufferSize, int nBuffers)
Sets up the audio, but allows you to control more precise details of the audio system.
ofSoundStreamSetup(...)
void ofSoundStreamSetup(int nOutputChannels, int nInputChannels, ofBaseApp *appPtr=NULL)
ofSoundStreamSetup(...)
void ofSoundStreamSetup(int nOutputChannels, int nInputChannels, int sampleRate, int bufferSize, int nBuffers)
ofSoundStreamSetup(...)
void ofSoundStreamSetup(int nOutputChannels, int nInputChannels, ofBaseApp *appPtr, int sampleRate, int bufferSize, int nBuffers)
Last updated
Tuesday, 18 June 2013 17:22:22 UTC
-
b9108c2c3a74b748f90c430e68d4bbb155402a77


