Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISpeechPhraseInfo AudioSizeBytes Property (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechPhraseInfo

AudioSizeBytes Property

The AudioSizeBytes property returns the size of audio data in bytes for this phrase.

AudioSizeBytes is directly tied to the input audio format. AudioSizeBytes increases as the quality of the format increases (and in doing so, requires more bytes). However, it is possible that the application needs the retained audio in a format different from the input audio stream (perhaps for lower-quality persistence, for example). If an application scales the audio, RetainedAudioSizeBytes will change, but not AudioSizeBytes.


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


The owning object.
Set: (This property is read-only)
Get: A Long variable containing the size of audio data.


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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.