ILMFAVolume Interface

Properties

Type Name Description
int Amplitude Sets or gets sound stream volume.
VARIANT_BOOL Mute Sets or gets mute volume option.
long NumChannels Number of audio channels of the current media format.

Methods

HRESULT SaveAttributes();

Description

Writes transform settings to the registry. This method will force the transform to save its settings to the registry before its released.

If the transform has no settings to write to the registry, E_NOTIMPL is returned.

Returns

S_OK if successful, < 0 if an error occurred.

HRESULT ResetToDefaults();

Description

Resets volume transform options values to the default values.

Returns

S_OK if successful, < 0 if an error occurred.

HRESULT LoadAttributes();

Description

Loads transform settings from the registry. The Media Foundation transforms import the settings from the registry only at creation time. This method will force the transform to re-load its settings from the registry. If the transform has no settings to load from the registry, E_NOTIMPL is returned.

Returns

S_OK if successful, < 0 if an error occurred.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.