#include <sound_output.hpp>
|
virtual std::vector< std::string > | enumerate ()=0 |
|
virtual bool | init (const std::string &devname, const std::string &hrtfname, HrtfMode hrtfmode)=0 |
|
virtual void | deinit ()=0 |
|
virtual std::vector< std::string > | enumerateHrtf ()=0 |
|
virtual void | setHrtf (const std::string &hrtfname, HrtfMode hrtfmode)=0 |
|
virtual std::pair
< Sound_Handle, size_t > | loadSound (const std::string &fname)=0 |
|
virtual size_t | unloadSound (Sound_Handle data)=0 |
|
virtual bool | playSound (Sound *sound, Sound_Handle data, float offset)=0 |
|
virtual bool | playSound3D (Sound *sound, Sound_Handle data, float offset)=0 |
|
virtual void | finishSound (Sound *sound)=0 |
|
virtual bool | isSoundPlaying (Sound *sound)=0 |
|
virtual void | updateSound (Sound *sound)=0 |
|
virtual bool | streamSound (DecoderPtr decoder, Stream *sound)=0 |
|
virtual bool | streamSound3D (DecoderPtr decoder, Stream *sound, bool getLoudnessData)=0 |
|
virtual void | finishStream (Stream *sound)=0 |
|
virtual double | getStreamDelay (Stream *sound)=0 |
|
virtual double | getStreamOffset (Stream *sound)=0 |
|
virtual float | getStreamLoudness (Stream *sound)=0 |
|
virtual bool | isStreamPlaying (Stream *sound)=0 |
|
virtual void | updateStream (Stream *sound)=0 |
|
virtual void | startUpdate ()=0 |
|
virtual void | finishUpdate ()=0 |
|
virtual void | updateListener (const osg::Vec3f &pos, const osg::Vec3f &atdir, const osg::Vec3f &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) |
|
MWSound::Sound_Output::Sound_Output |
( |
const Sound_Output & |
rhs | ) |
|
|
private |
virtual MWSound::Sound_Output::~Sound_Output |
( |
| ) |
|
|
inlinevirtual |
virtual void MWSound::Sound_Output::deinit |
( |
| ) |
|
|
privatepure virtual |
virtual std::vector<std::string> MWSound::Sound_Output::enumerate |
( |
| ) |
|
|
privatepure virtual |
virtual std::vector<std::string> MWSound::Sound_Output::enumerateHrtf |
( |
| ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::finishSound |
( |
Sound * |
sound | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::finishStream |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::finishUpdate |
( |
| ) |
|
|
privatepure virtual |
virtual double MWSound::Sound_Output::getStreamDelay |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
virtual float MWSound::Sound_Output::getStreamLoudness |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
virtual double MWSound::Sound_Output::getStreamOffset |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
virtual bool MWSound::Sound_Output::init |
( |
const std::string & |
devname, |
|
|
const std::string & |
hrtfname, |
|
|
HrtfMode |
hrtfmode |
|
) |
| |
|
privatepure virtual |
bool MWSound::Sound_Output::isInitialized |
( |
| ) |
const |
|
inline |
virtual bool MWSound::Sound_Output::isSoundPlaying |
( |
Sound * |
sound | ) |
|
|
privatepure virtual |
virtual bool MWSound::Sound_Output::isStreamPlaying |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
virtual std::pair<Sound_Handle,size_t> MWSound::Sound_Output::loadSound |
( |
const std::string & |
fname | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::pauseSounds |
( |
int |
types | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::resumeSounds |
( |
int |
types | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::setHrtf |
( |
const std::string & |
hrtfname, |
|
|
HrtfMode |
hrtfmode |
|
) |
| |
|
privatepure virtual |
virtual void MWSound::Sound_Output::startUpdate |
( |
| ) |
|
|
privatepure virtual |
virtual size_t MWSound::Sound_Output::unloadSound |
( |
Sound_Handle |
data | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::updateListener |
( |
const osg::Vec3f & |
pos, |
|
|
const osg::Vec3f & |
atdir, |
|
|
const osg::Vec3f & |
updir, |
|
|
Environment |
env |
|
) |
| |
|
privatepure virtual |
virtual void MWSound::Sound_Output::updateSound |
( |
Sound * |
sound | ) |
|
|
privatepure virtual |
virtual void MWSound::Sound_Output::updateStream |
( |
Stream * |
sound | ) |
|
|
privatepure virtual |
bool MWSound::Sound_Output::mInitialized |
|
protected |
The documentation for this class was generated from the following file: