OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Enumerations | Functions
MWSound Namespace Reference

Sound & music. More...

Classes

class  FFmpeg_Decoder
 
class  Sound_Loudness
 
class  MWSoundDecoderBridge
 
class  MovieAudioDecoder
 
class  MovieAudioFactory
 
class  OpenAL_SoundStream
 
class  OpenAL_Output
 
class  Sound
 
class  Stream
 
class  Sound_Buffer
 
struct  Sound_Decoder
 
class  Sound_Output
 
class  SoundManager
 

Typedefs

typedef boost::shared_ptr
< Sound_Decoder
DecoderPtr
 
typedef void * Sound_Handle
 
typedef void * Sound_Instance
 

Enumerations

enum  SampleType { SampleType_UInt8, SampleType_Int16, SampleType_Float32 }
 
enum  ChannelConfig {
  ChannelConfig_Mono, ChannelConfig_Stereo, ChannelConfig_Quad, ChannelConfig_5point1,
  ChannelConfig_7point1
}
 
enum  Environment { Env_Normal, Env_Underwater }
 
enum  PlayModeEx { Play_2D = 0, Play_3D = 1<<31 }
 

Functions

static void fail (const std::string &msg)
 
static void throwALCerror (ALCdevice *device)
 
static void throwALerror ()
 
static ALenum getALFormat (ChannelConfig chans, SampleType type)
 
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)
 

Detailed Description

Sound & music.

Typedef Documentation

typedef boost::shared_ptr<Sound_Decoder> MWSound::DecoderPtr
typedef void* MWSound::Sound_Handle
typedef void* MWSound::Sound_Instance

Enumeration Type Documentation

Enumerator
ChannelConfig_Mono 
ChannelConfig_Stereo 
ChannelConfig_Quad 
ChannelConfig_5point1 
ChannelConfig_7point1 
Enumerator
Env_Normal 
Env_Underwater 
Enumerator
Play_2D 
Play_3D 
Enumerator
SampleType_UInt8 
SampleType_Int16 
SampleType_Float32 

Function Documentation

size_t MWSound::bytesToFrames ( size_t  bytes,
ChannelConfig  config,
SampleType  type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static void MWSound::fail ( const std::string &  msg)
static

Here is the caller graph for this function:

size_t MWSound::framesToBytes ( size_t  frames,
ChannelConfig  config,
SampleType  type 
)

Here is the caller graph for this function:

static ALenum MWSound::getALFormat ( ChannelConfig  chans,
SampleType  type 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

const char * MWSound::getChannelConfigName ( ChannelConfig  config)

Here is the caller graph for this function:

const char * MWSound::getSampleTypeName ( SampleType  type)

Here is the caller graph for this function:

static void MWSound::throwALCerror ( ALCdevice *  device)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void MWSound::throwALerror ( )
static

Here is the call graph for this function:

Here is the caller graph for this function: