ISpeechAudioBufferInfo BufferSize Property (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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.