OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
MWSound::OpenAL_Sound Class Reference

List of all members.

Public Member Functions

 OpenAL_Sound (OpenAL_Output &output, ALuint src, ALuint buf, const Ogre::Vector3 &pos, float vol, float basevol, float pitch, float mindist, float maxdist, int flags)
virtual ~OpenAL_Sound ()
virtual void stop ()
virtual bool isPlaying ()
virtual double getTimeOffset ()
virtual double getLength ()
virtual void update ()

Protected Member Functions

void updateAll (bool local)

Protected Attributes

OpenAL_OutputmOutput
ALuint mSource
ALuint mBuffer

Private Member Functions

 OpenAL_Sound (const OpenAL_Sound &rhs)
OpenAL_Soundoperator= (const OpenAL_Sound &rhs)

Friends

class OpenAL_Output

Constructor & Destructor Documentation

MWSound::OpenAL_Sound::OpenAL_Sound ( OpenAL_Output output,
ALuint  src,
ALuint  buf,
const Ogre::Vector3 &  pos,
float  vol,
float  basevol,
float  pitch,
float  mindist,
float  maxdist,
int  flags 
)

Member Function Documentation

double MWSound::OpenAL_Sound::getLength ( ) [virtual]

Implements MWSound::Sound.

Implements MWSound::Sound.

OpenAL_Sound& MWSound::OpenAL_Sound::operator= ( const OpenAL_Sound rhs) [private]

Reimplemented in MWSound::OpenAL_Sound3D.

void MWSound::OpenAL_Sound::stop ( ) [virtual]

Implements MWSound::Sound.

void MWSound::OpenAL_Sound::update ( ) [virtual]

Implements MWSound::Sound.

Reimplemented in MWSound::OpenAL_Sound3D.

void MWSound::OpenAL_Sound::updateAll ( bool  local) [protected]

Friends And Related Function Documentation

friend class OpenAL_Output [friend]

Reimplemented from MWSound::Sound.


Member Data Documentation

ALuint MWSound::OpenAL_Sound::mBuffer [protected]
ALuint MWSound::OpenAL_Sound::mSource [protected]

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