Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

peon::AudioNode Struct Reference

This structure is responsible for encapsulating a 3D sound within our game world. More...

#include <AudioEngine.h>

List of all members.

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


Detailed Description

This structure is responsible for encapsulating a 3D sound within our 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.


The documentation for this struct was generated from the following file:
Generated on Thu Dec 1 01:55:40 2005 for Peon by  doxygen 1.4.1