Condividi tramite


IAMAudioInputMixer::put_Mono

 
Microsoft DirectShow 9.0

IAMAudioInputMixer::put_Mono

The put_Mono method combines all channels into a mono signal.

Syntax

  HRESULT put_Mono(
  BOOL fMono
);

Parameters

fMono

[in]  Specifies mono or multichannel. Use one of the following values.

Value Description
TRUE Mono
FALSE Multichannel

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
E_FAIL Error setting mono control.
S_OK Success.

Remarks

In mono mode, a stereo recording of this input will have the same data in both channels. The result will be a mixture of the left and right signals.

Requirements

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

Library: Use Strmiids.lib.

See Also