carb::audio::CodecStateDesc

Defined in carb/audio/IAudioData.h

struct CodecStateDesc

a descriptor for the codec state that should be created.

This contains the state information descriptors for both the encoder and decoder parts of the codec. Only one part may be valid at any given point. The part that is specified will indicate which kind of codec state object is created.

Public Members

CodecPart part

the codec part that indicates both which type of state object will be created and which part of the descriptor is valid.

DecodeStateDesc decode

filled in when creating a decoder state.

EncodeStateDesc encode

filled in when creating an encoder state.

union carb::audio::CodecStateDesc::[anonymous] [anonymous]

the specific codec state descriptors.

void *ext

reserved for future expansion.

This must be set to nullptr.