Torque2D Reference
Classes | Enumerations | Functions | Variables
Audio Namespace Reference

Classes

struct  Description
 

Enumerations

enum  Constants { AudioVolumeChannels = 32 }
 

Functions

F32 DBToLinear (F32 value)
 
F32 linearToDB (F32 value)
 
void shutdownContext ()
 
bool OpenALInit ()
 
void OpenALShutdown ()
 
bool OpenALDLLInit ()
 
void OpenALDLLShutdown ()
 
void initOpenAL ()
 
void shutdownOpenAL ()
 
void destroy ()
 

Variables

const int logmax = sizeof logtab / sizeof *logtab
 

Enumeration Type Documentation

enum Constants
Enumerator
AudioVolumeChannels 

Function Documentation

F32 DBToLinear ( F32  value)
void Audio::destroy ( )
void Audio::initOpenAL ( )
F32 linearToDB ( F32  value)
bool OpenALDLLInit ( )

The MacOS X build links against the OpenAL framework. It can be built to use either an internal framework, or the system framework. Since OpenAL is weak-linked in at compile time, we don't need to init anything. Stub it out...

void OpenALDLLShutdown ( )

Stubbed out, see the note on OpenALDLLInit().

bool OpenALInit ( )
void OpenALShutdown ( )
void Audio::shutdownContext ( )
void Audio::shutdownOpenAL ( )

Variable Documentation

const int logmax = sizeof logtab / sizeof *logtab