Compartir a través de


IMpegAudioDecoder::get_DualMode

 
Microsoft DirectShow 9.0

IMpegAudioDecoder::get_DualMode

Returns which channel is currently being decoded.

Syntax

  HRESULT get_DualMode(
  unsigned long  *pIntDecode
);

Parameters

pIntDecode

[out]  Indicates the channel(s) to be decoded.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

The pIntDecode parameter can have one of the values in the following table.

Constant Description
AM_MPEG_AUDIO_DUAL_MERGE Both channels are decoded.
AM_MPEG_AUDIO_DUAL_LEFT The left channel is decoded.
AM_MPEG_AUDIO_DUAL_RIGHT The right channel is decoded.

Requirements

Header: Include mpegtype.h.

Library: Use Strmiids.lib.

See Also