This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
#include "ofBaseApp.h"
#include "ofSoundBaseTypes.h"
#include "ofConstants.h"
#include <climits>
#include <functional>
Go to the source code of this file.
Classes | |
class | ofSoundStream |
Gives access to audio input and output devices. More... | |
Functions | |
OF_DEPRECATED_MSG ("Use an ofSoundStreamSettings object instead of directly passing the parameters", void ofSoundStreamSetup(int nOutputChannels, int nInputChannels, ofBaseApp *appPtr=nullptr)) | |
OF_DEPRECATED_MSG ("Use an ofSoundStreamSettings object instead of directly passing the parameters", void ofSoundStreamSetup(int nOutputChannels, int nInputChannels, int sampleRate, int bufferSize, int nBuffers)) | |
OF_DEPRECATED_MSG ("Use an ofSoundStreamSettings object instead of directly passing the parameters", 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. | |
std::vector< ofSoundDevice > | ofSoundStreamListDevices () |
Prints a list of all available audio devices. | |
Function Documentation
◆ OF_DEPRECATED_MSG() [1/3]
OF_DEPRECATED_MSG | ( | "Use an ofSoundStreamSettings object instead of directly passing the parameters" | , |
void | ofSoundStreamSetupint nOutputChannels, int nInputChannels, int sampleRate, int bufferSize, int nBuffers | ||
) |
◆ OF_DEPRECATED_MSG() [2/3]
OF_DEPRECATED_MSG | ( | "Use an ofSoundStreamSettings object instead of directly passing the parameters" | , |
void | ofSoundStreamSetupint nOutputChannels, int nInputChannels, ofBaseApp *appPtr, int sampleRate, int bufferSize, int nBuffers | ||
) |
◆ OF_DEPRECATED_MSG() [3/3]
OF_DEPRECATED_MSG | ( | "Use an ofSoundStreamSettings object instead of directly passing the parameters" | , |
void | ofSoundStreamSetupint nOutputChannels, int nInputChannels, ofBaseApp *appPtr=nullptr | ||
) |
◆ ofSoundStreamClose()
void ofSoundStreamClose | ( | ) |
Stops the sound stream and also cleans up the stream's resources.
◆ ofSoundStreamListDevices()
std::vector< ofSoundDevice > ofSoundStreamListDevices | ( | ) |
Prints a list of all available audio devices.
- Returns
- all sound devices found on the system
◆ ofSoundStreamSetup()
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)