reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofSoundStream.cpp File Reference
#include "ofSoundStream.h"
#include "ofAppRunner.h"
#include "ofLog.h"

Macros

#define OF_SYSTEM_SS   getSystemSoundStream()
 

Functions

void ofFmodSetBuffersize (unsigned int bs)
 
float * ofFmodSoundGetSpectrum (int nBands)
 
void ofSoundStreamSetup (int nOutputChannels, int nInputChannels, ofBaseApp *appPtr)
 
void ofSoundStreamSetup (int nOutputChannels, int nInputChannels, int sampleRate, int bufferSize, int nBuffers)
 
void ofSoundStreamSetup (int nOutputChannels, int nInputChannels, ofBaseApp *appPtr, int sampleRate, int bufferSize, int nBuffers)
 
void ofSoundStreamSetup (ofSoundStreamSettings &settings)
 
void ofSoundStreamStop ()
 Stops the sound stream (audioIn() / audioOut() will stop being called)
 
void ofSoundStreamStart ()
 Starts the sound stream (audioIn() / audioOut() will start being called)
 
void ofSoundStreamClose ()
 Stops the sound stream and also cleans up the stream's resources.
 
vector< ofSoundDeviceofSoundStreamListDevices ()
 Prints a list of all available audio devices.
 

Macro Definition Documentation

◆ OF_SYSTEM_SS

#define OF_SYSTEM_SS   getSystemSoundStream()

Function Documentation

◆ ofFmodSetBuffersize()

void ofFmodSetBuffersize ( unsigned int  bs)

◆ ofFmodSoundGetSpectrum()

float * ofFmodSoundGetSpectrum ( int  nBands)

◆ ofSoundStreamClose()

void ofSoundStreamClose ( )

Stops the sound stream and also cleans up the stream's resources.

◆ ofSoundStreamListDevices()

vector< ofSoundDevice > ofSoundStreamListDevices ( )

Prints a list of all available audio devices.

Returns
all sound devices found on the system

◆ ofSoundStreamSetup() [1/4]

void ofSoundStreamSetup ( int  nOutputChannels,
int  nInputChannels,
int  sampleRate,
int  bufferSize,
int  nBuffers 
)

◆ ofSoundStreamSetup() [2/4]

void ofSoundStreamSetup ( int  nOutputChannels,
int  nInputChannels,
ofBaseApp appPtr 
)

◆ ofSoundStreamSetup() [3/4]

void ofSoundStreamSetup ( int  nOutputChannels,
int  nInputChannels,
ofBaseApp appPtr,
int  sampleRate,
int  bufferSize,
int  nBuffers 
)

◆ ofSoundStreamSetup() [4/4]

void ofSoundStreamSetup ( ofSoundStreamSettings settings)

◆ ofSoundStreamStart()

void ofSoundStreamStart ( )

Starts the sound stream (audioIn() / audioOut() will start being called)

◆ ofSoundStreamStop()

void ofSoundStreamStop ( )

Stops the sound stream (audioIn() / audioOut() will stop being called)