ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

voc.cpp File Reference

#include "common/debug.h"
#include "common/endian.h"
#include "common/util.h"
#include "common/stream.h"
#include "common/textconsole.h"
#include "common/list.h"
#include "audio/audiostream.h"
#include "audio/decoders/raw.h"
#include "audio/decoders/voc.h"
Include dependency graph for voc.cpp:

Go to the source code of this file.

Namespaces

namespace  Audio
 

Internal interfaces to the ADPCM decoders.


Functions

int Audio::getSampleRateFromVOCRate (int vocSR)
 Take a sample rate parameter as it occurs in a VOC sound header, and return the corresponding sample frequency.
SeekableAudioStream * Audio::makeVOCStream (Common::SeekableReadStream *stream, byte flags, DisposeAfterUse::Flag disposeAfterUse=DisposeAfterUse::NO)
 Try to load a VOC from the given seekable stream and create an AudioStream from that data.

Variable Documentation

Definition at line 125 of file voc.cpp.

BlockList _blocks

Definition at line 122 of file voc.cpp.

byte _buffer[kSampleBufferLength]

Definition at line 143 of file voc.cpp.

BlockList::const_iterator _curBlock

Definition at line 124 of file voc.cpp.

Definition at line 97 of file voc.cpp.

const bool _isUnsigned

Definition at line 99 of file voc.cpp.

Timestamp _length

Definition at line 102 of file voc.cpp.

int _rate

Definition at line 101 of file voc.cpp.

Definition at line 96 of file voc.cpp.

Definition at line 105 of file voc.cpp.

int count

Definition at line 116 of file voc.cpp.

Definition at line 106 of file voc.cpp.

struct { ... } ::@22 loopBlock

Definition at line 110 of file voc.cpp.

int rate

Definition at line 111 of file voc.cpp.

struct { ... } ::@21 sampleBlock
int samples

Definition at line 112 of file voc.cpp.



Generated on Sat Feb 16 2019 05:03:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge