Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

CSpStreamFormat::IsEqual

CSpStreamFormat::IsEqual compares a specified stream format and format ID to the instance's format and format ID.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>BOOL IsEqual(</strong> <strong>REFGUID</strong> <em>rguidFormatId</em>, <strong>const <a runat="server" href="jj127893(v=msdn.10).md">WAVEFORMATEX</a></strong> *<em>pwfex</em> <strong>)</strong> </pre>

Parameters

  • rguidFormatId
    The format ID of the stream to compare with.
  • pwfex
    The wave format of the stream to compare with.

Return Values

Value Description
TRUE The two streams are identical.
FALSE The reference IDs of the streams are not the same, or the streams have different contents.