![]() |
![]() |
Codec Engine Application Programming Interface (API)
ce-w08
|
This structure defines the algorithm parameters that can be modified after creation via control() calls. More...
#include <iaudenc.h>
Data Fields | |
XDAS_Int32 | size |
XDAS_Int32 | inputFormat |
XDAS_Int32 | bitRate |
XDAS_Int32 | sampleRate |
XDAS_Int32 | numChannels |
XDAS_Int32 | numLFEChannels |
XDAS_Int32 | inputBitsPerSample |
This structure defines the algorithm parameters that can be modified after creation via control() calls.
@remarks It is not necessary that given implementation support all dynamic parameters to be configurable at run time. If a particular algorithm does not support run-time updates to a parameter that the application is attempting to change at runtime, it may indicate this as an error. @remarks This structure may be extended by individual codec implementations allowing customization with vendor specific parameters. The presence of vendor specific extensions will be detected by the value of the @c size parameter.
size
field must be correctly set by the caller. See https://processors.wiki.ti.com/index.php/Extending_data_structures_in_XDM for more details. @sa IAUDENC_Fxns::control()
XDAS_Int32 IAUDENC_DynamicParams::size |
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
XDAS_Int32 IAUDENC_DynamicParams::inputFormat |
The input PCM format. See IAUDIO_PcmFormat.
XDAS_Int32 IAUDENC_DynamicParams::bitRate |
Average bit rate, in bits per second.
XDAS_Int32 IAUDENC_DynamicParams::sampleRate |
Sampling frequency in Hz. For example, if the sampling frequency is 44.1 kHz, this field will be 44100.
XDAS_Int32 IAUDENC_DynamicParams::numChannels |
Number of Channels. See IAUDIO_ChannelId.
XDAS_Int32 IAUDENC_DynamicParams::numLFEChannels |
Number of LFE (Low Frequency Effects) channels in the stream.
XDAS_Int32 IAUDENC_DynamicParams::inputBitsPerSample |
Number of input bits per output sample. For example, if there are 16 bits per PCM input sample, this should be set to 16.