IAUDENC_DynamicParams Struct Reference
[XDM IAUDENC Audio Encoder Interface]

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

Detailed Description

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.
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 size parameter.
The size field must be correctly set by the caller. See http://tiexpressdsp.com/index.php?title=Extending_data_structures_in_xDM for more details.
See also:
IAUDENC_Fxns::control()

Field Documentation

Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.

The input PCM format. See IAUDIO_PcmFormat.

Average bit rate, in bits per second.

Sampling frequency in Hz. For example, if the sampling frequency is 44.1 kHz, this field will be 44100.

Number of Channels. See IAUDIO_ChannelId.

Number of LFE (Low Frequency Effects) channels in the stream.

Number of input bits per output sample. For example, if there are 16 bits per PCM input sample, this should be set to 16.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2010, Texas Instruments Incorporated