|
OpenMW
|
#include <sound.hpp>
Public Member Functions | |
| virtual void | stop ()=0 |
| virtual bool | isPlaying ()=0 |
| virtual double | getTimeOffset ()=0 |
| void | setPosition (const Ogre::Vector3 &pos) |
| void | setVolume (float volume) |
| void | setFadeout (float duration) |
| MWBase::SoundManager::PlayType | getPlayType () const |
| Sound (const Ogre::Vector3 &pos, float vol, float basevol, float pitch, float mindist, float maxdist, int flags) | |
| virtual | ~Sound () |
Protected Attributes | |
| Ogre::Vector3 | mPos |
| float | mVolume |
| float | mBaseVolume |
| float | mPitch |
| float | mMinDistance |
| float | mMaxDistance |
| int | mFlags |
| float | mFadeOutTime |
Private Member Functions | |
| virtual void | update ()=0 |
| Sound & | operator= (const Sound &rhs) |
| Sound (const Sound &rhs) | |
Friends | |
| class | OpenAL_Output |
| class | SoundManager |
| MWSound::Sound::Sound | ( | const Sound & | rhs | ) | [private] |
| MWSound::Sound::Sound | ( | const Ogre::Vector3 & | pos, |
| float | vol, | ||
| float | basevol, | ||
| float | pitch, | ||
| float | mindist, | ||
| float | maxdist, | ||
| int | flags | ||
| ) | [inline] |
| virtual MWSound::Sound::~Sound | ( | ) | [inline, virtual] |
| MWBase::SoundManager::PlayType MWSound::Sound::getPlayType | ( | ) | const [inline] |
| virtual double MWSound::Sound::getTimeOffset | ( | ) | [pure virtual] |
Implemented in MWSound::OpenAL_Sound, and MWSound::OpenAL_SoundStream.
| virtual bool MWSound::Sound::isPlaying | ( | ) | [pure virtual] |
Implemented in MWSound::OpenAL_Sound, and MWSound::OpenAL_SoundStream.
| void MWSound::Sound::setFadeout | ( | float | duration | ) | [inline] |
| void MWSound::Sound::setPosition | ( | const Ogre::Vector3 & | pos | ) | [inline] |
| void MWSound::Sound::setVolume | ( | float | volume | ) | [inline] |
| virtual void MWSound::Sound::stop | ( | ) | [pure virtual] |
Implemented in MWSound::OpenAL_Sound, and MWSound::OpenAL_SoundStream.
| virtual void MWSound::Sound::update | ( | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Sound3D, MWSound::OpenAL_Sound, and MWSound::OpenAL_SoundStream.
friend class OpenAL_Output [friend] |
Reimplemented in MWSound::OpenAL_Sound, and MWSound::OpenAL_SoundStream.
friend class SoundManager [friend] |
float MWSound::Sound::mBaseVolume [protected] |
float MWSound::Sound::mFadeOutTime [protected] |
int MWSound::Sound::mFlags [protected] |
float MWSound::Sound::mMaxDistance [protected] |
float MWSound::Sound::mMinDistance [protected] |
float MWSound::Sound::mPitch [protected] |
Ogre::Vector3 MWSound::Sound::mPos [protected] |
float MWSound::Sound::mVolume [protected] |
1.7.6.1