20 static int loadBuffer(
unsigned char* buffer,
unsigned int length);
23 static int addSource(
int buffer,
float volume,
bool atListener,
bool loop);
25 static int sourceAt(
int source, glm::vec3 pos);
26 static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up);
28 static void play(
int source,
bool atListener);
29 static void stop(
int source);
static void setEnabled(bool on)
static int loadBuffer(unsigned char *buffer, unsigned int length)
static glm::vec3 lastPosition
static void play(int source, bool atListener)
static int numSources(bool atListener)
static std::vector< unsigned int > listenerSources
static std::vector< unsigned int > sources
static void stop(int source)
static void setVolume(float vol)
static void listenAt(glm::vec3 pos, glm::vec3 at, glm::vec3 up)
static std::vector< unsigned int > buffers
static int addSource(int buffer, float volume, bool atListener, bool loop)
static int sourceAt(int source, glm::vec3 pos)