Torque2D Reference
Loading...
Searching...
No Matches
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

◆ Constants

enum Constants
Enumerator
AudioVolumeChannels 

Function Documentation

◆ DBToLinear()

F32 DBToLinear ( F32  value)

◆ destroy()

void destroy ( )

◆ initOpenAL()

void initOpenAL ( )

◆ linearToDB()

F32 linearToDB ( F32  value)

◆ OpenALDLLInit()

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...

◆ OpenALDLLShutdown()

void OpenALDLLShutdown ( )

Stubbed out, see the note on OpenALDLLInit().

◆ OpenALInit()

bool OpenALInit ( )

◆ OpenALShutdown()

void OpenALShutdown ( )

◆ shutdownContext()

void shutdownContext ( )

◆ shutdownOpenAL()

void shutdownOpenAL ( )

Variable Documentation

◆ logmax

const int logmax = sizeof logtab / sizeof *logtab