int sm_path_destroy(tSMPathId path)
Destroys path and invalidates the tSMPathId.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody signal path processing API.