18 static int loadBuffer(
unsigned char* buffer,
unsigned int length);
20 static int numSources(
bool atListener =
false);
21 static int addSource(
int buffer,
float volume = 1.0f,
bool atListener =
false,
bool loop =
false);
23 static int sourceAt(
int source, glm::vec3 pos);
24 static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up);
26 static void play(
int source,
bool atListener =
false);
27 static void stop(
int source);
static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up)
static void stop(int source)
static int sourceAt(int source, glm::vec3 pos)
static void setEnabled(bool on=true)
static int loadBuffer(unsigned char *buffer, unsigned int length)
static int addSource(int buffer, float volume=1.0f, bool atListener=false, bool loop=false)
static void setVolume(float vol=1.0f)
static int numSources(bool atListener=false)
static void play(int source, bool atListener=false)