xoreos  0.0.5
Classes | Namespaces | Functions | Variables
adpcm.cpp File Reference

Decoding ADPCM (Adaptive Differential Pulse Code Modulation). More...

#include <cassert>
#include <cstring>
#include "src/common/endianness.h"
#include "src/common/disposableptr.h"
#include "src/sound/decoders/adpcm.h"
#include "src/sound/audiostream.h"
Include dependency graph for adpcm.cpp:

Go to the source code of this file.

Classes

class  Sound::ADPCMStream
 
class  Sound::Ima_ADPCMStream
 
class  Sound::Apple_ADPCMStream
 
class  Sound::MSIma_ADPCMStream
 
class  Sound::MS_ADPCMStream
 
struct  Sound::MS_ADPCMStream::ADPCMChannelStatus
 
class  Sound::Xbox_ADPCMStream
 
struct  Sound::Xbox_ADPCMStream::ADPCMChannelStatus
 
class  Sound::PacketizedADPCMStream
 

Namespaces

 Sound
 

Functions

RewindableAudioStream * Sound::makeADPCMStream (Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 size, ADPCMTypes type, int rate, int channels, uint32 blockAlign=0)
 Takes an input stream containing ADPCM compressed sound data and creates an RewindableAudioStream from that. More...
 
PacketizedAudioStream * Sound::makePacketizedADPCMStream (ADPCMTypes type, int rate, int channels, uint32 blockAlign=0)
 Creates a PacketizedAudioStream that will automatically queue packets as individual AudioStreams like returned by makeADPCMStream. More...
 

Variables

static const int Sound::MSADPCMAdaptCoeff1 []
 
static const int Sound::MSADPCMAdaptCoeff2 []
 
static const int Sound::MSADPCMAdaptationTable []
 
static const uint16 Sound::imaStepTable [89]
 
static const int8 Sound::kXboxIndexTable [16]
 

Detailed Description

Decoding ADPCM (Adaptive Differential Pulse Code Modulation).

Definition in file adpcm.cpp.