#include <Audio.h>
Public Methods | |
| Audio () | |
| virtual | ~Audio () |
| ALuint | createSound (string filename, Vector3 position, Vector3 velocity) |
| OggStream * | createSound (string filename) |
| void | deleteSound (ALuint buffer) |
| void | changePosition (ALuint buffer, Vector3 position) |
| void | changeListenerPosition (Vector3 position) |
Protected Attributes | |
| ALuint | _soundList [100] |
| int | _numSounds |
| vector< string > | _soundNames |
| map< string, OggStream * > | _soundMap |
|
|
|
|
|
|
|
|
Change listener position |
|
||||||||||||
|
Change the position of a sound |
|
|
|
|
||||||||||||||||
|
create a sound buffer from a filename |
|
|
Delete a sound buffer |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18