OpenMW
|
#include <algorithm>
#include <stdexcept>
#include <iostream>
#include <vector>
#include <memory>
#include <cstring>
#include <stdint.h>
#include <components/vfs/manager.hpp>
#include <OpenThreads/Thread>
#include <OpenThreads/Condition>
#include <OpenThreads/Mutex>
#include <OpenThreads/ScopedLock>
#include "openal_output.hpp"
#include "sound_decoder.hpp"
#include "sound.hpp"
#include "soundmanagerimp.hpp"
#include "loudness.hpp"
Classes | |
class | MWSound::OpenAL_SoundStream |
struct | MWSound::OpenAL_Output::StreamThread |
Namespaces | |
anonymous_namespace{openal_output.cpp} | |
MWSound | |
Sound & music. | |
Macros | |
#define | ALC_ALL_DEVICES_SPECIFIER 0x1013 |
#define | ALC_SOFT_HRTF 1 |
#define | ALC_HRTF_SOFT 0x1992 |
#define | ALC_DONT_CARE_SOFT 0x0002 |
#define | ALC_HRTF_STATUS_SOFT 0x1993 |
#define | ALC_HRTF_DISABLED_SOFT 0x0000 |
#define | ALC_HRTF_ENABLED_SOFT 0x0001 |
#define | ALC_HRTF_DENIED_SOFT 0x0002 |
#define | ALC_HRTF_REQUIRED_SOFT 0x0003 |
#define | ALC_HRTF_HEADPHONES_DETECTED_SOFT 0x0004 |
#define | ALC_HRTF_UNSUPPORTED_FORMAT_SOFT 0x0005 |
#define | ALC_NUM_HRTF_SPECIFIERS_SOFT 0x1994 |
#define | ALC_HRTF_SPECIFIER_SOFT 0x1995 |
#define | ALC_HRTF_ID_SOFT 0x1996 |
#define | MAKE_PTRID(id) ((void*)(uintptr_t)id) |
#define | GET_PTRID(ptr) ((ALuint)(uintptr_t)ptr) |
Typedefs | |
typedef const ALCchar *(ALC_APIENTRY * | LPALCGETSTRINGISOFT )(ALCdevice *device, ALCenum paramName, ALCsizei index) |
typedef ALCboolean(ALC_APIENTRY * | LPALCRESETDEVICESOFT )(ALCdevice *device, const ALCint *attribs) |
Functions | |
template<typename T , typename R > | |
void | anonymous_namespace{openal_output.cpp}::convertPointer (T &dest, R src) |
template<typename T > | |
void | anonymous_namespace{openal_output.cpp}::getFunc (T &func, ALCdevice *device, const char *name) |
static void | MWSound::fail (const std::string &msg) |
static void | MWSound::throwALCerror (ALCdevice *device) |
static void | MWSound::throwALerror () |
static ALenum | MWSound::getALFormat (ChannelConfig chans, SampleType type) |
Variables | |
const int | anonymous_namespace{openal_output.cpp}::sLoudnessFPS = 20 |
#define ALC_ALL_DEVICES_SPECIFIER 0x1013 |
#define ALC_DONT_CARE_SOFT 0x0002 |
#define ALC_HRTF_DENIED_SOFT 0x0002 |
#define ALC_HRTF_DISABLED_SOFT 0x0000 |
#define ALC_HRTF_ENABLED_SOFT 0x0001 |
#define ALC_HRTF_HEADPHONES_DETECTED_SOFT 0x0004 |
#define ALC_HRTF_ID_SOFT 0x1996 |
#define ALC_HRTF_REQUIRED_SOFT 0x0003 |
#define ALC_HRTF_SOFT 0x1992 |
#define ALC_HRTF_SPECIFIER_SOFT 0x1995 |
#define ALC_HRTF_STATUS_SOFT 0x1993 |
#define ALC_HRTF_UNSUPPORTED_FORMAT_SOFT 0x0005 |
#define ALC_NUM_HRTF_SPECIFIERS_SOFT 0x1994 |
#define ALC_SOFT_HRTF 1 |
#define GET_PTRID | ( | ptr | ) | ((ALuint)(uintptr_t)ptr) |
#define MAKE_PTRID | ( | id | ) | ((void*)(uintptr_t)id) |
typedef const ALCchar*(ALC_APIENTRY* LPALCGETSTRINGISOFT)(ALCdevice *device, ALCenum paramName, ALCsizei index) |
typedef ALCboolean(ALC_APIENTRY* LPALCRESETDEVICESOFT)(ALCdevice *device, const ALCint *attribs) |