#include <openal_output.hpp>
|
virtual std::vector< std::string > | enumerate () |
|
virtual bool | init (const std::string &devname, const std::string &hrtfname, HrtfMode hrtfmode) |
|
virtual void | deinit () |
|
virtual std::vector< std::string > | enumerateHrtf () |
|
virtual void | setHrtf (const std::string &hrtfname, HrtfMode hrtfmode) |
|
virtual std::pair
< Sound_Handle, size_t > | loadSound (const std::string &fname) |
|
virtual size_t | unloadSound (Sound_Handle data) |
|
virtual bool | playSound (Sound *sound, Sound_Handle data, float offset) |
|
virtual bool | playSound3D (Sound *sound, Sound_Handle data, float offset) |
|
virtual void | finishSound (Sound *sound) |
|
virtual bool | isSoundPlaying (Sound *sound) |
|
virtual void | updateSound (Sound *sound) |
|
virtual bool | streamSound (DecoderPtr decoder, Stream *sound) |
|
virtual bool | streamSound3D (DecoderPtr decoder, Stream *sound, bool getLoudnessData) |
|
virtual void | finishStream (Stream *sound) |
|
virtual double | getStreamDelay (Stream *sound) |
|
virtual double | getStreamOffset (Stream *sound) |
|
virtual float | getStreamLoudness (Stream *sound) |
|
virtual bool | isStreamPlaying (Stream *sound) |
|
virtual void | updateStream (Stream *sound) |
|
virtual void | startUpdate () |
|
virtual void | finishUpdate () |
|
virtual void | updateListener (const osg::Vec3f &pos, const osg::Vec3f &atdir, const osg::Vec3f &updir, Environment env) |
|
virtual void | pauseSounds (int types) |
|
virtual void | resumeSounds (int types) |
|
| OpenAL_Output (SoundManager &mgr) |
|
virtual | ~OpenAL_Output () |
|
virtual | ~Sound_Output () |
|
bool | isInitialized () const |
|
|
void | initCommon2D (ALuint source, const osg::Vec3f &pos, ALfloat gain, ALfloat pitch, bool loop, bool useenv) |
|
void | initCommon3D (ALuint source, const osg::Vec3f &pos, ALfloat mindist, ALfloat maxdist, ALfloat gain, ALfloat pitch, bool loop, bool useenv) |
|
void | updateCommon (ALuint source, const osg::Vec3f &pos, ALfloat maxdist, ALfloat gain, ALfloat pitch, bool useenv, bool is3d) |
|
OpenAL_Output & | operator= (const OpenAL_Output &rhs) |
|
| OpenAL_Output (const OpenAL_Output &rhs) |
|
MWSound::OpenAL_Output::OpenAL_Output |
( |
const OpenAL_Output & |
rhs | ) |
|
|
private |
MWSound::OpenAL_Output::~OpenAL_Output |
( |
| ) |
|
|
virtual |
void MWSound::OpenAL_Output::deinit |
( |
| ) |
|
|
virtual |
std::vector< std::string > MWSound::OpenAL_Output::enumerate |
( |
| ) |
|
|
virtual |
std::vector< std::string > MWSound::OpenAL_Output::enumerateHrtf |
( |
| ) |
|
|
virtual |
void MWSound::OpenAL_Output::finishSound |
( |
Sound * |
sound | ) |
|
|
virtual |
void MWSound::OpenAL_Output::finishStream |
( |
Stream * |
sound | ) |
|
|
virtual |
void MWSound::OpenAL_Output::finishUpdate |
( |
| ) |
|
|
virtual |
double MWSound::OpenAL_Output::getStreamDelay |
( |
Stream * |
sound | ) |
|
|
virtual |
float MWSound::OpenAL_Output::getStreamLoudness |
( |
Stream * |
sound | ) |
|
|
virtual |
double MWSound::OpenAL_Output::getStreamOffset |
( |
Stream * |
sound | ) |
|
|
virtual |
bool MWSound::OpenAL_Output::init |
( |
const std::string & |
devname, |
|
|
const std::string & |
hrtfname, |
|
|
HrtfMode |
hrtfmode |
|
) |
| |
|
virtual |
void MWSound::OpenAL_Output::initCommon2D |
( |
ALuint |
source, |
|
|
const osg::Vec3f & |
pos, |
|
|
ALfloat |
gain, |
|
|
ALfloat |
pitch, |
|
|
bool |
loop, |
|
|
bool |
useenv |
|
) |
| |
|
private |
void MWSound::OpenAL_Output::initCommon3D |
( |
ALuint |
source, |
|
|
const osg::Vec3f & |
pos, |
|
|
ALfloat |
mindist, |
|
|
ALfloat |
maxdist, |
|
|
ALfloat |
gain, |
|
|
ALfloat |
pitch, |
|
|
bool |
loop, |
|
|
bool |
useenv |
|
) |
| |
|
private |
bool MWSound::OpenAL_Output::isSoundPlaying |
( |
Sound * |
sound | ) |
|
|
virtual |
bool MWSound::OpenAL_Output::isStreamPlaying |
( |
Stream * |
sound | ) |
|
|
virtual |
std::pair< Sound_Handle, size_t > MWSound::OpenAL_Output::loadSound |
( |
const std::string & |
fname | ) |
|
|
virtual |
void MWSound::OpenAL_Output::pauseSounds |
( |
int |
types | ) |
|
|
virtual |
void MWSound::OpenAL_Output::resumeSounds |
( |
int |
types | ) |
|
|
virtual |
void MWSound::OpenAL_Output::setHrtf |
( |
const std::string & |
hrtfname, |
|
|
HrtfMode |
hrtfmode |
|
) |
| |
|
virtual |
void MWSound::OpenAL_Output::startUpdate |
( |
| ) |
|
|
virtual |
size_t MWSound::OpenAL_Output::unloadSound |
( |
Sound_Handle |
data | ) |
|
|
virtual |
void MWSound::OpenAL_Output::updateCommon |
( |
ALuint |
source, |
|
|
const osg::Vec3f & |
pos, |
|
|
ALfloat |
maxdist, |
|
|
ALfloat |
gain, |
|
|
ALfloat |
pitch, |
|
|
bool |
useenv, |
|
|
bool |
is3d |
|
) |
| |
|
private |
void MWSound::OpenAL_Output::updateListener |
( |
const osg::Vec3f & |
pos, |
|
|
const osg::Vec3f & |
atdir, |
|
|
const osg::Vec3f & |
updir, |
|
|
Environment |
env |
|
) |
| |
|
virtual |
void MWSound::OpenAL_Output::updateSound |
( |
Sound * |
sound | ) |
|
|
virtual |
void MWSound::OpenAL_Output::updateStream |
( |
Stream * |
sound | ) |
|
|
virtual |
struct { ... } MWSound::OpenAL_Output::AL |
struct { ... } MWSound::OpenAL_Output::ALC |
bool MWSound::OpenAL_Output::EXT_EFX |
SoundVec MWSound::OpenAL_Output::mActiveSounds |
|
private |
StreamVec MWSound::OpenAL_Output::mActiveStreams |
|
private |
ALCcontext* MWSound::OpenAL_Output::mContext |
|
private |
ALuint MWSound::OpenAL_Output::mDefaultEffect |
|
private |
ALCdevice* MWSound::OpenAL_Output::mDevice |
|
private |
ALuint MWSound::OpenAL_Output::mEffectSlot |
|
private |
IDDq MWSound::OpenAL_Output::mFreeSources |
|
private |
osg::Vec3f MWSound::OpenAL_Output::mListenerPos |
|
private |
std::unique_ptr<StreamThread> MWSound::OpenAL_Output::mStreamThread |
|
private |
ALuint MWSound::OpenAL_Output::mWaterEffect |
|
private |
ALuint MWSound::OpenAL_Output::mWaterFilter |
|
private |
bool MWSound::OpenAL_Output::SOFT_HRTF |
bool MWSound::OpenAL_Output::SOFT_source_spatialize |
The documentation for this class was generated from the following files: