source Class Reference

#include <sound.h>

Collaboration diagram for source:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 source ()
 ~source ()
void lock ()
void unlock ()
void reset ()
void init (sourceowner *o)
void onreassign ()
bool generate ()
bool delete_ ()
bool buffer (ALuint buf_id)
bool looping (bool enable)
bool queuebuffers (ALsizei n, const ALuint *buffer_ids)
bool unqueueallbuffers ()
bool gain (float g)
bool pitch (float p)
bool position (const vec &pos)
bool position (float x, float y, float z)
bool velocity (float x, float y, float z)
vec position ()
bool sourcerelative (bool enable)
int state ()
bool secoffset (float secs)
float secoffset ()
bool playing ()
bool play ()
bool stop ()
bool rewind ()
void printposition ()

Public Attributes

ALuint id
sourceowner * owner
bool locked
bool valid
int priority


Constructor & Destructor Documentation

source::source (  ) 

source::~source (  ) 


Member Function Documentation

bool source::buffer ( ALuint  buf_id  ) 

bool source::delete_ (  ) 

bool source::gain ( float  g  ) 

bool source::generate (  ) 

void source::init ( sourceowner *  o  ) 

void source::lock (  ) 

bool source::looping ( bool  enable  ) 

void source::onreassign (  ) 

bool source::pitch ( float  p  ) 

bool source::play (  ) 

bool source::playing (  ) 

vec source::position (  ) 

bool source::position ( float  x,
float  y,
float  z 
)

bool source::position ( const vec &  pos  ) 

void source::printposition (  ) 

bool source::queuebuffers ( ALsizei  n,
const ALuint *  buffer_ids 
)

void source::reset (  ) 

bool source::rewind (  ) 

float source::secoffset (  ) 

bool source::secoffset ( float  secs  ) 

bool source::sourcerelative ( bool  enable  ) 

int source::state (  ) 

bool source::stop (  ) 

void source::unlock (  ) 

bool source::unqueueallbuffers (  ) 

bool source::velocity ( float  x,
float  y,
float  z 
)


Member Data Documentation

ALuint source::id


The documentation for this class was generated from the following files:

Generated on Mon Dec 8 21:41:37 2008 for AssaultCube by  doxygen 1.5.7.1