irPlayResume - resume voice playback
#include <irapi.h>
int irPlayResume (channel_id cid, int offset);
The irPlayResume function restarts a remembered play or record request from the point it was interrupted, stopped or completed, relative to offset. offset is specified in milliseconds. See irEnd(3IRAPI) for information on how to remember play requests.
irPlayResume may only be called from the IRS_IDLE state.
The IRE_PLAY_DONE event occurs when play completes.
IRR_OK is returned if the request to resume play is success- fully initiated.
IRR_FAIL is returned if an error occurs.
irError is set as follows if an error occurs:
IRER_INVALID if the cid is not valid or if cid has not remembered any play or record request.
IRER_BADSTATE if the cid is in any state other than IRS_IDLE
IRER_SYSERROR if a system or driver call failure occurs (check irSysError for additional information)
irEnd(3IRAPI) and irPlay(3IRAPI).
Resuming record is not currently supported.
Sending IRE_PLAY_PROG events is no longer supported.
This is version 12/10/02 of this man page.