Compartir a través de


IMpegAudioDecoder::get_AudioFormat

 
Microsoft DirectShow 9.0

IMpegAudioDecoder::get_AudioFormat

Returns the audio format of the connected input pin.

Syntax

  HRESULT get_AudioFormat(
  MPEG1WAVEFORMAT*  lpFmt
);

Parameters

lpFmt

[out]  Pointer to an MPEG1WAVEFORMAT structure. The method copies the format data into the structure.

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.

Requirements

Header: Include mpegtype.h.

Library: Use Strmiids.lib.

See Also