OpenMW
|
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_Output & | mOutput |
ALuint | mSource |
ALuint | mBuffer |
Private Member Functions | |
OpenAL_Sound (const OpenAL_Sound &rhs) | |
OpenAL_Sound & | operator= (const OpenAL_Sound &rhs) |
Friends | |
class | OpenAL_Output |
MWSound::OpenAL_Sound::OpenAL_Sound | ( | const OpenAL_Sound & | rhs | ) | [private] |
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 | ||
) |
MWSound::OpenAL_Sound::~OpenAL_Sound | ( | ) | [virtual] |
double MWSound::OpenAL_Sound::getLength | ( | ) | [virtual] |
double MWSound::OpenAL_Sound::getTimeOffset | ( | ) | [virtual] |
Implements MWSound::Sound.
bool MWSound::OpenAL_Sound::isPlaying | ( | ) | [virtual] |
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] |
friend class OpenAL_Output [friend] |
Reimplemented from MWSound::Sound.
ALuint MWSound::OpenAL_Sound::mBuffer [protected] |
OpenAL_Output& MWSound::OpenAL_Sound::mOutput [protected] |
ALuint MWSound::OpenAL_Sound::mSource [protected] |