ISoundBuffer Class Reference

Virtual class for holding sound samples. More...

#include <isound.h>

List of all members.

Public Member Functions

 ISoundBuffer ()
virtual ~ISoundBuffer ()
virtual void Play (bool loop)=0
virtual void Position (int x, int y, int z)=0
 Set the position of the sound.
virtual bool IsPlaying ()=0
 Get state of smaple.
virtual void Stop ()=0
 Stop the playback.


Detailed Description

Virtual class for holding sound samples.

Nowhere implemented yet.

Definition at line 65 of file isound.h.


Constructor & Destructor Documentation

ISoundBuffer::ISoundBuffer  )  [inline]
 

Definition at line 71 of file isound.h.

virtual ISoundBuffer::~ISoundBuffer  )  [inline, virtual]
 

Definition at line 72 of file isound.h.


Member Function Documentation

virtual bool ISoundBuffer::IsPlaying  )  [pure virtual]
 

Get state of smaple.

Returns:
true if the sound is playing.

virtual void ISoundBuffer::Play bool  loop  )  [pure virtual]
 

virtual void ISoundBuffer::Position int  x,
int  y,
int  z
[pure virtual]
 

Set the position of the sound.

In case that the sound is allready playing the volume is altered. Let's say that the listener is in (0,0,0) ?

Parameters:
x x coordinate of the sound
y y coordinate of the sound
z z coordinate of the sound

virtual void ISoundBuffer::Stop  )  [pure virtual]
 

Stop the playback.


The documentation for this class was generated from the following file:
Generated on Wed Apr 12 14:18:26 2006 for bjs by  doxygen 1.4.5