This function is deprecated.
int sm_avfrec_get_event(struct sm_avfrec_event_parms *eventp)
typedef struct sm_avfrec_event_parms { tSMAVFrecId avfrec; /* in */ tSMEventId event; /* out */ } SM_AVFREC_EVENT_PARMS;
If the call completes successfully event will hold the tSMEventId belonging to avfrec. The tSMEventId is valid until the AVF recorder is destroyed using sm_avfrec_destroy(). This event will be signalled when a status change occurs on the AVF recorder. When the event is signalled the user must call sm_avfrec_status() to discover the nature of the status change.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody Audio Video Format (AVF) API.