Microsoft DirectX 9.0


The put_MixLevel method sets the recording level for this input.


HRESULT put_MixLevel(
  double Level



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

Value Description
0.0 to 1.0 Zero indicates that the recording level is off; the value 1.0 indicates that the recording level is at full volume. Intermediate values are also allowed.
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