From: Iftach Silberman
Recording two timeslots at once can be done with dx_mreciottdata. Here's an example:
SC_TSINFO tsinfo;
long scts;
long tslots[2];
DX_IOTT iott;
DX_XPB xpb;
// Get the timeslots of dev1 and dev2
tsinfo.sc_numts = 1;
tsinfo.sc_tsarrayp = &scts;
dt_getxmitslot (dev1, &tsinfo);
tslots[0] = scts;
dt_getxmitslot (dev2, &tsinfo);
tslots[1] = scts;
tsinfo.sc_numts = 2;
tsinfo.sc_tsarrayp = &tslots[0];
// Set the XPB as you desire
// Set the IOTT as you desire
// Record on voice device voxDev
dx_mreciottdata (voxDev, &iott, NULL, &xpb, EV_SYNC, &tsinfo);
-
To reply: mailto:General.30817@pysdiscussext.py.intel.com
To start a new topic: mailto:General@pysdiscussext.py.intel.com
To login: http://membersresource.intel.com/webboardnet/wb.aspx?board=general
Received on Tue Jul 12 02:49:17 2005
This archive was generated by hypermail 2.1.8 : Sat Jul 16 2005 - 03:48:35 EDT