ILMFAC3Encoder Interface

This is the interface for the LEAD AC3 Encoder.

Properties

Type Name Description
long OutputBitrate Sets the output bitrate of the compressed audio data. Bitrate denotes the average number of bits that one second of audio data will take up in your compressed bitstream. The unit is in kbps. To calculate the number of bytes per second of audio data, divide the bitrate value by eight. Bitrate represents the strength of compression. Also the bitrate has influence on quality. The higher the bitrate, the higher the quality.The valid bitrate values are: {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640}.
BOOL SimulateSurround Enables or disables surround feature simulation. Possible values are:
• TRUE: Enables surround feature simulation.
• FALSE: Disables surround feature simulation. This property works only if LENCAC3_FORCE_6CHANNELS flag is selected.
long OutputChannelsFlag A flag that specifies the number of output channels. Possible values are:
LENCAC3_UNCHANGED: [0x00] The number of output channels equals the number of input channels.
LENCAC3_FORCE_MONO: [0x01] The number of output channel is 1.
LENCAC3_FORCE_STEREO: [0x02] The number of output channels is 2.
LENCAC3_FORCE_6CHANNELS: [0x06] The number of output channels is 6.

Methods

HRESULT ResetToDefaults()

Description

Reset the AC3 encoder option values to the default values.

Returns

S_OK if connected; otherwise, S_FALSE.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Transforms C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.