#include <AudioEngine.h>
Public Member Functions | |
AudioNode () | |
Constructor. | |
Public Attributes | |
ALuint | sound_source |
the source buffer | |
int | sound_buffer |
bool | sound_loop |
loop the sound? | |
ALfloat | sound_position [3] |
sound's position in 3D space | |
ALfloat | sound_velocity [3] |
sound's velocity within the game world |
Hopefully it's fairly generic enough to handle most situations. These nodes are really only meant for OGG and WAV files (pretty much anything supported by OpenAL). For MIDI audio, you should be looking at the loadMidi method of the AudioEngine object.