This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofSoundStreamSettings Class Reference
#include <ofSoundBaseTypes.h>
Public Member Functions | |
virtual | ~ofSoundStreamSettings () |
virtual bool | setInDevice (const ofSoundDevice &device) |
virtual bool | setOutDevice (const ofSoundDevice &device) |
virtual bool | setApi (ofSoundDevice::Api api) |
virtual const ofSoundDevice * | getInDevice () const |
virtual const ofSoundDevice * | getOutDevice () const |
virtual ofSoundDevice::Api | getApi () const |
template<typename Listener > | |
void | setInListener (Listener *inListener) |
template<typename Listener > | |
void | setOutListener (Listener *outListener) |
Public Attributes | |
size_t | sampleRate = 44100 |
size_t | bufferSize = 256 |
size_t | numBuffers = 4 |
size_t | numInputChannels = 0 |
size_t | numOutputChannels = 0 |
std::function< void(ofSoundBuffer &)> | inCallback |
std::function< void(ofSoundBuffer &)> | outCallback |
Constructor & Destructor Documentation
◆ ~ofSoundStreamSettings()
|
inlinevirtual |
Member Function Documentation
◆ getApi()
|
virtual |
◆ getInDevice()
|
virtual |
◆ getOutDevice()
|
virtual |
◆ setApi()
|
virtual |
◆ setInDevice()
|
virtual |
◆ setInListener()
template<typename Listener >
|
inline |
◆ setOutDevice()
|
virtual |
◆ setOutListener()
template<typename Listener >
|
inline |
Member Data Documentation
◆ bufferSize
size_t ofSoundStreamSettings::bufferSize = 256 |
◆ inCallback
std::function<void(ofSoundBuffer &)> ofSoundStreamSettings::inCallback |
◆ numBuffers
size_t ofSoundStreamSettings::numBuffers = 4 |
◆ numInputChannels
size_t ofSoundStreamSettings::numInputChannels = 0 |
◆ numOutputChannels
size_t ofSoundStreamSettings::numOutputChannels = 0 |
◆ outCallback
std::function<void(ofSoundBuffer &)> ofSoundStreamSettings::outCallback |
◆ sampleRate
size_t ofSoundStreamSettings::sampleRate = 44100 |
The documentation for this class was generated from the following files:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/sound/ofSoundBaseTypes.h
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/sound/ofSoundStream.cpp