#include <Sound.h>
Definition at line 11 of file Sound.h.
int Sound::initialize |
( |
| ) |
|
|
static |
int Sound::numBuffers |
( |
| ) |
|
|
static |
int Sound::loadBuffer |
( |
unsigned char * |
buffer, |
|
|
unsigned int |
length |
|
) |
| |
|
static |
int Sound::numSources |
( |
bool |
atListener = false | ) |
|
|
static |
int Sound::addSource |
( |
int |
buffer, |
|
|
float |
volume = 1.0f , |
|
|
bool |
atListener = false , |
|
|
bool |
loop = false |
|
) |
| |
|
static |
int Sound::sourceAt |
( |
int |
source, |
|
|
glm::vec3 |
pos |
|
) |
| |
|
static |
void Sound::listenAt |
( |
glm::vec3 |
pos, |
|
|
glm::vec3 |
at, |
|
|
glm::vec3 |
up |
|
) |
| |
|
static |
void Sound::play |
( |
int |
source, |
|
|
bool |
atListener = false |
|
) |
| |
|
static |
void Sound::stop |
( |
int |
source | ) |
|
|
static |
void Sound::setEnabled |
( |
bool |
on = true | ) |
|
|
static |
bool Sound::getEnabled |
( |
| ) |
|
|
static |
void Sound::setVolume |
( |
float |
vol = 1.0f | ) |
|
|
static |
float Sound::getVolume |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: