#include <audiobase.h>
Inheritance diagram for openalpp::AudioBase:
Protected Member Functions | |
AudioBase (int frequency=-1, int refresh=-1, int synchronous=-1) throw (InitError) | |
virtual | ~AudioBase () |
Static Protected Attributes | |
static bool | reverbinitiated_ |
static void(* | alReverbScale )(ALuint sid, ALfloat param) |
static void(* | alReverbDelay )(ALuint sid, ALfloat param) |
openalpp::AudioBase::AudioBase | ( | int | frequency = -1 , |
|
int | refresh = -1 , |
|||
int | synchronous = -1 | |||
) | throw (InitError) [protected] |
Constructor.
frequency | is the output frequency, in Hz. | |
refresh | is the refresh rate, in Hz. | |
is | a flag for syncronous context. Values <0 indicates that the default should be used. |
virtual openalpp::AudioBase::~AudioBase | ( | ) | [protected, virtual] |
Destructor.
bool openalpp::AudioBase::reverbinitiated_ [static, protected] |
Flag for whether reverb has been initiated. Reverb can be initiated with AudioEnviroment::InitiateReverb()
void(* openalpp::AudioBase::alReverbScale)(ALuint sid, ALfloat param) [static, protected] |
Set reverb scale. This pointer will be set by AudioEnviroment::InitiateReverb()
sid | is the OpenAL name for the source | |
param | is the reverb scale. Range [0.0,1.0]. |
void(* openalpp::AudioBase::alReverbDelay)(ALuint sid, ALfloat param) [static, protected] |
Set reverb delay. This pointer will be set by AudioEnviroment::InitiateReverb()
sid | is the OpenAL name for the source | |
param | is the reverb delay. Range [0.0,2.0]. |