Prosody generic: API: sm_reset_module

This function is deprecated.

Prototype Definition

int sm_reset_module(tSMModuleId module)

Parameters

module
A value obtained from sm_open_module() which indicates the module to be reset

Description

This function is deprecated. Since a module only needs to be reset when downloading a new kernel, the download program should be used to reset a module.

Performs hardware reset on given module, module, which will then require a new firmware download before it may be used for speech processing.

Any channels previously associated with the module must be released before invoking this call.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody generic API.