Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

ISpeechAudioBufferInfo BufferSize Property (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Object: ISpeechAudioBufferInfo

BufferSize Property

The BufferSize property gets and sets the size of the audio object's buffer, in milliseconds.

For readable audio objects, this is simply a preferred size because readable objects will automatically expand their buffers to accommodate data. For writable audio objects, this is the amount of audio data that will be buffered before a call to Write will block.

This value must be greater than or equal to 200 milliseconds. A reasonable default is 500ms.


Set: ISpeechAudioBufferInfo.BufferSize = Long
Get: Long = ISpeechAudioBufferInfo.BufferSize


The owning object.
Set: A Long variable that sets the buffer size.
Get: A Long variable that gets the buffer size.
© 2015 Microsoft