Copyright © 2008-2023 MultiMedia Soft

EnableInternalEncoders method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables the usage of internal encoders for MP3, Ogg Vorbis and Opus formats.

When internal encoders are enabled, which is the default behaviour starting from version 8 of the component, the encoding speed is quite higher.

 

 

Syntax

 

[Visual Basic]

control.EnableInternalEncoders (

bEnable as enumBoolean

)


 

[C++]

void control.EnableInternalEncoders (

short bEnable

);


 

 

Parameter

Description

 

 

bEnable

Boolean value that specifies if the control must enable internal encoders.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Disable internal encoders and use the external encoders Lame.exe (for MP3 format), OggEnc.exe (for OGG Vorbis format) and OpusEnc.exe (for Opus format): this was the default behaviour up to version 7 of the component.

BOOL_TRUE (default)

Enable internal encoders.

When internal encoders are enabled, the following properties are ignored:

 

 - EncodeFormats.MP3.EncodeMode set to MP3_ENCODE_CUSTOM

 - EncodeFormats.MP3.CustomString

 - EncodeFormats.MP3.Downmix

 

 - EncodeFormats.OGG.EncodeMode set to OGG_ENCODE_CUSTOM

 - EncodeFormats.OGG.CustomString

 - EncodeFormats.OGG.Downmix

 - EncodeFormats.OGG.ResampleFrequency

 

 - EncodeFormats.OPUS.EncodeMode set to OPUS_ENCODE_CUSTOM

 - EncodeFormats.OPUS.CustomString

 - EncodeFormats.OPUS.DownmixMode

 

 

 

Return value

 

None