共用方式為


IAudioData::GetFormat

 
Microsoft DirectShow 9.0

IAudioData::GetFormat

  • Note   This interface is deprecated. New applications should not use it.

The GetFormat method retrieves the current data format.

Syntax

  HRESULT GetFormat(
  WAVEFORMATEX *pWaveFormatCurrent
);

Parameters

pWaveFormatCurrent

[out] Pointer to a WAVEFORMATEX structure that contains the current data format.

Return Values

Returns S_OK if successful or E_POINTER if pointer is invalid.

Remarks

Currently, Microsoft DirectShow supports only PCM wave data.

See Also