Prosody speech processing: API: sm_put_last_replay_data

Prototype Definition

int sm_put_last_replay_data(struct sm_ts_data_parms *datap)

Parameters

*datap
a structure of the following type:
typedef struct sm_ts_data_parms {
	tSMChannelId channel;					/* in */
	char *data;						/* in */
	tSM_INT length;						/* in */
} SM_TS_DATA_PARMS;

Description

Supplies the last data to a replay started with sm_replay_start(). See sm_put_replay_data() for further details.

The length field can be zero if there is no remaining data.

Fields

channel
The channel which is replaying.
data
The data being provided.
length
The length of the data being provided.

Returns

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


This function is part of the Prosody speech processing API.