- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
Sets a new value for a stream property.
StreamParameter
Stream parameter to change. See available Stream Properties.
StreamParameterValue
New stream parameter value.
LV_SUCCESS
No errors; parameter changed correctly.
LV_INVALID_HPORT
The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).
LV_FAILURE
The operation failed because the port was shutting down.
LV_INVALID_PROPERTY
The specified parameter does not exist.
LV_EXCEPTION
An exception occured while processing the request.
The streaming parameters set by this function are very important for the Engine to correctly determine when speech begins and ends, which in turn is important for getting accurate recognition. A common problem in speech applications is that the Engine may cut off the start or end of an utterance if these settings are incorrect.
See our recommended Engine settings for some ideas of how to alter these settings for different types of applications.