OpenMW
Classes | Namespaces | Enumerations | Functions
apps/openmw/mwsound/sound_decoder.hpp File Reference
#include <string>
#include <OgreResourceGroupManager.h>

Go to the source code of this file.

Classes

struct  MWSound::Sound_Decoder

Namespaces

namespace  MWSound
 

Sound & music.


Enumerations

enum  MWSound::SampleType { MWSound::SampleType_UInt8, MWSound::SampleType_Int16, MWSound::SampleType_Float32 }
enum  MWSound::ChannelConfig {
  MWSound::ChannelConfig_Mono, MWSound::ChannelConfig_Stereo, MWSound::ChannelConfig_Quad, MWSound::ChannelConfig_5point1,
  MWSound::ChannelConfig_7point1
}

Functions

const char * MWSound::getSampleTypeName (SampleType type)
const char * MWSound::getChannelConfigName (ChannelConfig config)
size_t MWSound::framesToBytes (size_t frames, ChannelConfig config, SampleType type)
size_t MWSound::bytesToFrames (size_t bytes, ChannelConfig config, SampleType type)