carb::audio::CodecState
Defined in carb/audio/IAudioData.h
-
struct CodecState
stores information on the current decoding or encoding state of a SoundData object.
This object is kept separate from the sound data to avoid the limitation that streaming from a SoundData object or encoding a single sound to multiple targets can only have one simultaneous instance. The information stored in this object determines how the sound data is decoded (ie: streamed from disk, streamed from memory, etc) and holds state information about the decoding process itself.