다음을 통해 공유


IAMAudioInputMixer::put_MixLevel

 
Microsoft DirectShow 9.0

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 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.

Requirements

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

Library: Use Strmiids.lib.

See Also