IAMAudioInputMixer::put_MixLevel method

The put_MixLevel method sets the recording level for this input.

Syntax


HRESULT put_MixLevel(
  [indouble Level
);

Parameters

Level [in]

Specifies the recording level. The following values are possible.

Value Description
0.0 to 1.0Zero 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_AUTOMATICGAINEnable automatic adjustment of the recording level.

 

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

E_NOTIMPL

This filter does not support the AMF_AUTOMATICGAIN flag.

E_INVALIDARG

Invalid argument.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IAMAudioInputMixer Interface
IAMAudioInputMixer::get_MixLevel

 

 

Show: