Microsoft DirectX 8.1 (C++)

IAMAudioInputMixer::put_MixLevel

The put_MixLevel method sets the recording level for this input.

Syntax

HRESULT put_MixLevel(
  double Level
);

Parameters

Level

[in]  Specifies the recording level. The following values are possible.

Value Description
0.0 to 1.0 The value 0 indicates that the recording level is off; the value 1 indicates that the recording level is at full volume.
AMF_AUTOMATICGAIN Enable automatic adjustment of the recording level.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL This filter does not support the AMF_AUTOMATICGAIN flag.
E_INVALIDARG Invalid argument.

See Also