Поделиться через


IAMAudioInputMixer::put_Enable

 
Microsoft DirectShow 9.0

IAMAudioInputMixer::put_Enable

The put_Enable method enables or disables an input.

Syntax

  HRESULT put_Enable(
  BOOL fEnable
);

Parameters

fEnable

[in]  Specifies whether to enable or disable the input. Use one of the following values.

Value Description
TRUE Enable the input.
FALSE Disable the input.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Not implemented.

Remarks

If an input is enabled, it is mixed into the recorded signal.

This method applies to specific input pins on the Audio Capture Filter, so the filter itself returns E_NOTIMPL.

Requirements

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

Library: Use Strmiids.lib.

See Also