ISpeechPhraseElement RetainedStreamOffset Property (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform


Interface: ISpeechPhraseElement

RetainedStreamOffset Property

The RetainedStreamOffset property returns the starting offset of the element, in bytes, relative to the start of the phrase in the retained audio stream.

If the current RecoContext is retaining audio, the value of RetainedStreamOffset will be equal to the value of AudioStreamOffset. If the current RecoContext is not retaining audio, RetainedStreamOffset will be zero.


Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseElement.RetainedStreamOffset

Parts

ISpeechPhraseElement
The owning object.
Long
Set: (This property is read-only)
Get: A Long variable that gets the value of the property.

Example

Use of the ISpeechPhraseElement is demonstrated in a code example at the end of this section.