Microsoft DirectX 9.0

IAMAudioInputMixer::get_MixLevel

The get_MixLevel methiod retrieves the recording level.

Syntax

HRESULT get_MixLevel(
  double *pLevel
);

Parameters

pLevel

[out]  Pointer to a variable that receives 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 Automatic adjustment of the recording level is enabled.

Return Values

If the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

See Also