int sm_fmptx_stop(struct sm_fmptx_stop_parms *stopp)
typedef struct sm_fmptx_stop_parms { tSMFMPtxId fmptx; /* in */ } SM_FMPTX_STOP_PARMS;
Requests that a FMP[tx] stops executing. The user will be notified that a FMP[tx] has terminated by a final status event. Once the final status notification has been received the FMP[tx] can be destroyed using sm_fmptx_destroy().
Once the FMP[tx] has stopped the event should no longer be used to wait for status notifications as it will be signalled permanently. The event is invalidated when sm_fmptx_destroy() is called.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody FMP processing API.