Set up a callback to receive state change notification of a stream.
int LV_SRE_StreamSetStateChangeCallBack(HPORT hport, LV_SRE_StreamStateChangeFn* fn, void* UserData);
LV_SUCCESS
No errors; data accepted.
A negative result indicates a specific error:
-12: LV_INVALID_HPORT: the specified handle is invalid.
HPort
The port's handle.
LV_SRE_StreamStateChangeFn
Pointer to the callback function to receive state change updates. See Stream Callback.
UserData
Application defined data sent back in callback.
Each time a streams status changes, this callback will be called.
Complete Help Topic List | Speech Engine Product Information