carb::audio::CodecPart

Defined in carb/audio/IAudioData.h

enum class carb::audio::CodecPart

names to identify the different parts of a codec.

These are used to indicate which type of codec state needs to be created or to indicate which type of sound format to retrieve.

Values:

enumerator eDecoder

identifies the decoder part of the codec or that the decoded sound format should be retrieved.

When retrieving a format, this will be the information for the PCM format for the sound. When creating a codec state, this will expect that the decoder descriptor information has been filled in.

enumerator eEncoder

identifies the encoder part of the codec or that the encoded sound format should be retrieved.

When retrieving a format, this will be the information for the encoded format for the sound. When creating a codec state, this will expect that the encoder descriptor information has been filled in.