Safely destroys a speech port, releasing control of the acquired license and other associated resources back to the server.
- int LV_SRE_DestroyClient(HPORT hport)
The port's handle.
The port has been successfully destroyed.
The input hport is not a valid one.
An exception occurred while processing the request.
Each open port requires one license. For this reason, you should close every port as soon as it is no longer needed.
char *grammar_label = "MyGram";
char *grammar_file_path = "builtin:grammar/digits";
char *audio_file_path = "1234.ulaw";
// Load and use other assets appropriate to the function of the program.
// Here, DestroyClient is the last thing called before the program terminates.