IAudioMediaStream::GetFormat

 
Microsoft DirectShow 9.0

IAudioMediaStream::GetFormat

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

Retrieves the stream data's current format.

Syntax

  HRESULT GetFormat(
  WAVEFORMATEX *pWaveFormatCurrent 
);

Parameters

pWaveFormatCurrent

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

Return Values

Returns S_OK if successful or E_POINTER if the required parameter is NULL.

Remarks

Currently, Microsoft DirectShow supports only PCM wave data.

See Also