reference

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 ofSoundDevicegetInDevice () const
 
virtual const ofSoundDevicegetOutDevice () 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()

virtual ofSoundStreamSettings::~ofSoundStreamSettings ( )
inlinevirtual

Member Function Documentation

◆ getApi()

ofSoundDevice::Api ofSoundStreamSettings::getApi ( ) const
virtual

◆ getInDevice()

const ofSoundDevice * ofSoundStreamSettings::getInDevice ( ) const
virtual

◆ getOutDevice()

const ofSoundDevice * ofSoundStreamSettings::getOutDevice ( ) const
virtual

◆ setApi()

bool ofSoundStreamSettings::setApi ( ofSoundDevice::Api  api)
virtual

◆ setInDevice()

bool ofSoundStreamSettings::setInDevice ( const ofSoundDevice device)
virtual

◆ setInListener()

template<typename Listener >
void ofSoundStreamSettings::setInListener ( Listener *  inListener)
inline

◆ setOutDevice()

bool ofSoundStreamSettings::setOutDevice ( const ofSoundDevice device)
virtual

◆ setOutListener()

template<typename Listener >
void ofSoundStreamSettings::setOutListener ( Listener *  outListener)
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: