#include <openalaudioserver.h>
Public Member Functions | |
OpenALAudioServer (const char *id) | |
virtual | ~OpenALAudioServer () |
virtual Sound * | NewSound (const string &name) |
virtual SoundResource * | NewSoundResource (const string &name) |
virtual bool | OpenDevice () |
virtual void | CloseDevice () |
virtual void | WriteInfo () |
virtual bool | Trigger () |
bool | check_alc_error () |
bool | check_al_error () |
Protected Attributes | |
ALCdevice * | device |
ALCcontext * | context |
OpenALAudioServer::OpenALAudioServer | ( | const char * | id | ) |
Constructor.
OpenALAudioServer::~OpenALAudioServer | ( | ) | [virtual] |
Destructor.
Sound * OpenALAudioServer::NewSound | ( | const string & | name | ) | [virtual] |
Creates a non-shared sound object.
Reimplemented from AudioServer.
SoundResource * OpenALAudioServer::NewSoundResource | ( | const string & | name | ) | [virtual] |
Creates a shared sound resource object.
Reimplemented from AudioServer.
bool OpenALAudioServer::OpenDevice | ( | ) | [virtual] |
Open the audio server.
Reimplemented from AudioServer.
void OpenALAudioServer::CloseDevice | ( | ) | [virtual] |
Close the audio server.
Reimplemented from AudioServer.
void OpenALAudioServer::WriteInfo | ( | ) | [virtual] |
Writes basic audio information to log file.
Reimplemented from AudioServer.
bool OpenALAudioServer::Trigger | ( | void | ) | [virtual] |
Reimplemented from AudioServer.
bool OpenALAudioServer::check_alc_error | ( | ) |
bool OpenALAudioServer::check_al_error | ( | ) |
ALCdevice* OpenALAudioServer::device [protected] |
ALCcontext* OpenALAudioServer::context [protected] |