int sm_fmprx_get_datafeed(struct sm_fmprx_datafeed_parms *datafeedp)
typedef struct sm_fmprx_datafeed_parms { tSMFMPrxId fmprx; /* in */ tSMDatafeedId datafeed; /* out */ } SM_FMPRX_DATAFEED_PARMS;
Request a datafeed identifier from a FMP[rx]. This identifer can
subsequently be used in a call to
sm_channel_datafeed_connect()
or
sm_fmptx_datafeed_connect()
to connect a FMP[rx] to a speech channel (tSMChannelId) or a FMP[tx]
respectively. Datafeed connections can only be made between objects
allocated on the same tSMModuleId
.
Requires the modules datafeed fmprx to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody FMP processing API.