|
OpenMW
|
#include <sound_output.hpp>
Public Member Functions | |
| virtual | ~Sound_Output () |
| bool | isInitialized () const |
Protected Member Functions | |
| Sound_Output (SoundManager &mgr) | |
Protected Attributes | |
| bool | mInitialized |
| Ogre::Vector3 | mPos |
Private Member Functions | |
| virtual std::vector< std::string > | enumerate ()=0 |
| virtual void | init (const std::string &devname="")=0 |
| virtual void | deinit ()=0 |
| virtual MWBase::SoundPtr | playSound (const std::string &fname, float vol, float basevol, float pitch, int flags, float offset)=0 |
| virtual MWBase::SoundPtr | playSound3D (const std::string &fname, const Ogre::Vector3 &pos, float vol, float basevol, float pitch, float min, float max, int flags, float offset)=0 |
| virtual MWBase::SoundPtr | streamSound (DecoderPtr decoder, float volume, float pitch, int flags)=0 |
| virtual void | updateListener (const Ogre::Vector3 &pos, const Ogre::Vector3 &atdir, const Ogre::Vector3 &updir, Environment env)=0 |
| virtual void | pauseSounds (int types)=0 |
| virtual void | resumeSounds (int types)=0 |
| Sound_Output & | operator= (const Sound_Output &rhs) |
| Sound_Output (const Sound_Output &rhs) | |
Private Attributes | |
| SoundManager & | mManager |
Friends | |
| class | OpenAL_Output |
| class | SoundManager |
| MWSound::Sound_Output::Sound_Output | ( | const Sound_Output & | rhs | ) | [private] |
| MWSound::Sound_Output::Sound_Output | ( | SoundManager & | mgr | ) | [inline, protected] |
| virtual MWSound::Sound_Output::~Sound_Output | ( | ) | [inline, virtual] |
| virtual void MWSound::Sound_Output::deinit | ( | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| virtual std::vector<std::string> MWSound::Sound_Output::enumerate | ( | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| virtual void MWSound::Sound_Output::init | ( | const std::string & | devname = "" | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| bool MWSound::Sound_Output::isInitialized | ( | ) | const [inline] |
| Sound_Output& MWSound::Sound_Output::operator= | ( | const Sound_Output & | rhs | ) | [private] |
| virtual void MWSound::Sound_Output::pauseSounds | ( | int | types | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| virtual MWBase::SoundPtr MWSound::Sound_Output::playSound | ( | const std::string & | fname, |
| float | vol, | ||
| float | basevol, | ||
| float | pitch, | ||
| int | flags, | ||
| float | offset | ||
| ) | [private, pure virtual] |
| offset | Value from [0,1] meaning from which fraction the sound the playback starts. |
Implemented in MWSound::OpenAL_Output.
| virtual MWBase::SoundPtr MWSound::Sound_Output::playSound3D | ( | const std::string & | fname, |
| const Ogre::Vector3 & | pos, | ||
| float | vol, | ||
| float | basevol, | ||
| float | pitch, | ||
| float | min, | ||
| float | max, | ||
| int | flags, | ||
| float | offset | ||
| ) | [private, pure virtual] |
| offset | Value from [0,1] meaning from which fraction the sound the playback starts. |
Implemented in MWSound::OpenAL_Output.
| virtual void MWSound::Sound_Output::resumeSounds | ( | int | types | ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| virtual MWBase::SoundPtr MWSound::Sound_Output::streamSound | ( | DecoderPtr | decoder, |
| float | volume, | ||
| float | pitch, | ||
| int | flags | ||
| ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
| virtual void MWSound::Sound_Output::updateListener | ( | const Ogre::Vector3 & | pos, |
| const Ogre::Vector3 & | atdir, | ||
| const Ogre::Vector3 & | updir, | ||
| Environment | env | ||
| ) | [private, pure virtual] |
Implemented in MWSound::OpenAL_Output.
friend class OpenAL_Output [friend] |
friend class SoundManager [friend] |
Reimplemented in MWSound::OpenAL_Output.
bool MWSound::Sound_Output::mInitialized [protected] |
SoundManager& MWSound::Sound_Output::mManager [private] |
Ogre::Vector3 MWSound::Sound_Output::mPos [protected] |
1.7.6.1