TMdaPcmWavCodec Class Reference

#include <mda/common/audio.h>

class TMdaPcmWavCodec : public TMdaWavCodec

Detailed Description

Deprecated

The codec for uncompressed 8 or 16 bit PCM .wav format sound data.

This codec copies the data unchanged from source to destination.

Member Attribute Documentation

iBits

TBits iBits

Indicates whether the sound is sampled using 8 or 16 bits.

Member Enumeration Documentation

Enum TBits

Indicates whether the sound is sampled using 8 or 16 bits.

EnumeratorValueDescription
E8BitPcm0

The sound is sampled using 8 bits.

E16BitPcm1

The sound is sampled using 16 bits.

Constructor & Destructor Documentation

TMdaPcmWavCodec ( TBits )

TMdaPcmWavCodec(TBitsaBits = E16BitPcm)[inline]

Constructs the package with a flag that indicates whether the sound is sampled using 8 or 16 bits.

Parameters
aBitsIndicates whether the sound is sampled using 8 or 16 bits.