Previous topic

SUtteranceClass Structure

Next topic

Plug-ins

Speect InitializationΒΆ

Also see Initialization, Finalization and Logging.

s_erc speect_init(s_logger *logger)

Initialize the Speect Engine.

This function must be called before any other Speect Engine API calls.

Parameters:
  • logger

    Logger where messages should be written to. If NULL, then messages of error type will be written to stderr if the build type (CMAKE_BUILD_TYPE) is Debug, otherwise no messages will be logged.

Return:

Error code.

Note:

Not thread safe.

See also

CMAKE_BUILD_TYPE and Logging.

s_erc speect_quit(void)

Request a graceful shutdown of the Speect Engine.

Return:Error code.
Note:Not thread safe.