ILMAVolume

Methods

HRESULT SetAmplitude(int lAmplitude)

Description

Sets the volume of the sound stream.

Parameters

lAmplitude

Integer value that represents the requested volume amplitude, possible values are between -10 and 10.

Returns

Return Description
S_OK If successful, amplitude values out of the range will be clipped.
S_FALSE Otherwise.

HRESULT GetAmplitude(int *lAmplitude)

Description

Gets the current volume value.

Parameters

lAmplitude

A valid pointer to an integer variable that will receive the current volume.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT SetMute(BOOL bMute)

Description

Sets the mute volume option.

Parameters

bMute

New status of mute option, TRUE or FALSE.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT GetMute(BOOL *bMute)

Description

Gets the current mute volume option status.

Parameters

bMute

A valid pointer to a Boolean variable that will receive the current mute volume option.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT GetNumChannels(int *nChannels)

Description

Gets the number of channels in the current sound stream.

Parameters

nChannels

A valid pointer to an integer variable that will receive the number of channels in the current sound stream.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.
Help Version 23.0.2024.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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