static void setEnabled(bool on)
static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up)
static void stop(int source)
static int loadBuffer(unsigned char *buffer, unsigned int length)
static int sourceAt(int source, glm::vec3 pos)
OpenAL Sound Implementation.
static void play(int source, bool atListener)
static void setEnabled(bool on=true)
static int loadBuffer(unsigned char *buffer, unsigned int length)
static int numSources(bool atListener)
static void stop(int source)
static int addSource(int buffer, float volume=1.0f, bool atListener=false, bool loop=false)
static void setVolume(float vol)
static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up)
static void setVolume(float vol=1.0f)
static int numSources(bool atListener=false)
static int addSource(int buffer, float volume, bool atListener, bool loop)
static int sourceAt(int source, glm::vec3 pos)
static void play(int source, bool atListener=false)