
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.
Syntax
Set: | ISpeechAudioBufferInfo.BufferSize = Long |
Get: | Long = ISpeechAudioBufferInfo.BufferSize |
Parts
- ISpeechAudioBufferInfo
- The owning object.
- Long
-
Set: A Long variable that sets the buffer size.
Get: A Long variable that gets the buffer size.