Condividi tramite


IAMAudioInputMixer::get_MixLevel

 
Microsoft DirectShow 9.0

IAMAudioInputMixer::get_MixLevel

The get_MixLevel methiod retrieves the recording level.

Syntax

  HRESULT get_MixLevel(
  double *pLevel
);

Parameters

pLevel

[out]  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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also