#include <vector>#include <alc.h>#include "Exception.h"#include "config.h"#include "OggFile.h"#include "soundutil.h"

Go to the source code of this file.
Namespaces | |
| namespace | pcce |
Functions | |
| void | pcce::InitializeAL () |
| Initialize OpenAL. | |
| void | pcce::ShutdownAL () |
| Shutdown OpenAL. | |
| ALuint | pcce::LoadOgg (const std::string &fileName) |
| Load an ogg file into buffer. | |
| static unsigned short | pcce::readByte16 (const unsigned char buffer[2]) |
| static unsigned long | pcce::readByte32 (const unsigned char buffer[4]) |
| ALuint | pcce::LoadWav (const std::string &fileName) |
| Load a wave file into buffer. | |
| ALuint | pcce::GenSource () |
| ALuint | pcce::GenSource (ALuint buffer) |
| void | pcce::ClearALError () |
| const std::string & | pcce::GetALErrorStr (const ALenum error) |
Variables | |
| const string | ALNoErrorStr = "No AL error occurred" |
| const string | ALInvalidNameStr = "AL error: a bad name (ID) was passed to an OpenAL function" |
| const string | ALInvalidEnumStr = "AL error: an invalid enum value was passed to an OpenAL function" |
| const string | ALInvalidValueStr = "AL error: an invalid value was passed to an OpenAL function" |
| const string | ALInvalidOpStr = "AL error: the requested operation is not valid" |
| const string | ALOutOfMemoryStr = "AL error: the requested operation resulted in OpenAL running out of memory" |
| const string | ALOtherErrorStr = "AL error: unknown error" |
const string ALInvalidEnumStr = "AL error: an invalid enum value was passed to an OpenAL function" [static] |
const string ALInvalidNameStr = "AL error: a bad name (ID) was passed to an OpenAL function" [static] |
const string ALInvalidOpStr = "AL error: the requested operation is not valid" [static] |
const string ALInvalidValueStr = "AL error: an invalid value was passed to an OpenAL function" [static] |
const string ALNoErrorStr = "No AL error occurred" [static] |
const string ALOtherErrorStr = "AL error: unknown error" [static] |
const string ALOutOfMemoryStr = "AL error: the requested operation resulted in OpenAL running out of memory" [static] |
1.5.5