Partager via


ISpeechPhraseInfo RetainedSizeBytes Property (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechPhraseInfo

RetainedSizeBytes Property

The RetainedSizeBytes property returns the size in bytes of the retained audio data for the audio format specified.

It is possible that the application needs the retained audio in a format different from the input audio stream; therefore, RetainedAudioSizeBytes and AudioSizeBytes could be different as well. In this case, the scaled (or converted) retained audio will be RetainedAudioSizeBytes in length and AudioSizeBytes will be the size of the original stream length. AudioSizeBytes changes only if the quality of the original format of the stream changes, and in doing so, requiring more or fewer bytes.

Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseInfo.RetainedSizeBytes

Parts

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

Example

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