OpenMW
|
Classes | |
class | FFmpeg_Decoder |
class | Sound_Loudness |
class | MWSoundDecoderBridge |
class | MovieAudioDecoder |
class | MovieAudioFactory |
class | OpenAL_SoundStream |
class | OpenAL_Output |
class | SoundBase |
class | Sound |
class | Stream |
class | Sound_Buffer |
struct | Sound_Decoder |
class | Sound_Output |
class | SoundManager |
Typedefs | |
typedef std::shared_ptr < Sound_Decoder > | DecoderPtr |
typedef void * | Sound_Handle |
typedef void * | Sound_Instance |
Enumerations | |
enum | PlayMode { PlayMode::Normal = 0, PlayMode::Loop = 1<<0, PlayMode::NoEnv = 1<<1, PlayMode::RemoveAtDistance = 1<<2, PlayMode::NoPlayerLocal = 1<<3, PlayMode::LoopNoEnv = Loop | NoEnv, PlayMode::LoopRemoveAtDistance = Loop | RemoveAtDistance } |
enum | Type { Type::Sfx = 1<<4, Type::Voice = 1<<5, Type::Foot = 1<<6, Type::Music = 1<<7, Type::Movie = 1<<8, Type::Mask = Sfx | Voice | Foot | Music | Movie } |
enum | SampleType { SampleType_UInt8, SampleType_Int16, SampleType_Float32 } |
enum | ChannelConfig { ChannelConfig_Mono, ChannelConfig_Stereo, ChannelConfig_Quad, ChannelConfig_5point1, ChannelConfig_7point1 } |
enum | HrtfMode { HrtfMode::Disable, HrtfMode::Enable, HrtfMode::Auto } |
enum | Environment { Env_Normal, Env_Underwater } |
enum | PlayModeEx { Play_2D = 0, Play_3D = 1<<31 } |
Functions | |
int | operator~ (Type a) |
int | operator& (Type a, Type b) |
int | operator& (int a, Type b) |
int | operator| (Type a, Type b) |
static ALenum | getALFormat (ChannelConfig chans, SampleType type) |
int | operator& (int a, PlayMode b) |
int | operator& (PlayMode a, PlayMode b) |
const char * | getSampleTypeName (SampleType type) |
const char * | getChannelConfigName (ChannelConfig config) |
size_t | framesToBytes (size_t frames, ChannelConfig config, SampleType type) |
size_t | bytesToFrames (size_t bytes, ChannelConfig config, SampleType type) |
int | operator| (PlayMode a, Type b) |
Sound & music.
typedef std::shared_ptr<Sound_Decoder> MWSound::DecoderPtr |
typedef void* MWSound::Sound_Handle |
typedef void* MWSound::Sound_Instance |
enum MWSound::Environment |
|
strong |
|
strong |
enum MWSound::PlayModeEx |
enum MWSound::SampleType |
|
strong |
size_t MWSound::bytesToFrames | ( | size_t | bytes, |
ChannelConfig | config, | ||
SampleType | type | ||
) |
size_t MWSound::framesToBytes | ( | size_t | frames, |
ChannelConfig | config, | ||
SampleType | type | ||
) |
|
static |
const char * MWSound::getChannelConfigName | ( | ChannelConfig | config | ) |
const char * MWSound::getSampleTypeName | ( | SampleType | type | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |