carb::audio::CodecInfo
Defined in carb/audio/IAudioData.h
-
struct CodecInfo
information about a codec for a single sample format.
This includes information that is both suitable for display and that can be used to determine if it is safe or possible to perform a certain conversion operation.
Public Members
-
SampleFormat encodedFormat
the encoded sample format that this codec information describes.
-
SampleFormat preferredFormat
the PCM sample format that the decoder prefers to decode to and the encoder prefers to encode from.
-
char name[256]
the friendly name of this codec.
-
char provider[256]
the library, system service, or author that provides the functionality of this codec.
-
char copyright[256]
the owner and developer information for this codec.
-
size_t minBlockSize
minimum block size in frames supported by this codec.
-
size_t maxBlockSize
maximum block size in frames supported by this codec.
-
size_t minChannels
the minimum number of channels per frame supported by this codec.
-
size_t maxChannels
the maximum number of channels per frame supported by this codec.
-
SampleFormat encodedFormat