Intel 05-1832-002 User Manual

Page of 564
252
Voice API for Windows Operating Systems Library Reference — November 2003
dx_getxmitslot( ) — get TDM bus time slot number of voice transmit channel
dx_getxmitslot( )
get TDM bus time slot number of voice transmit channel
!
!
!
Description
The dx_getxmitslot( ) function returns the time division multiplexing (TDM) bus time slot number 
of the voice transmit channel. The TDM bus time slot information is contained in an SC_TSINFO 
structure that includes the number of the TDM bus time slot connected to the voice transmit 
channel. For more information on this structure, see 
Note:
TDM bus convenience function nr_scroute( ) includes dx_getxmitslot( ) functionality. 
A voice channel on a TDM bus-based board can transmit on only one TDM bus time slot.
!
!
!
Cautions
This function fails when an invalid channel device handle is specified.
On DM3 boards, this function is supported in a flexible routing configuration but not a fixed 
routing configuration. This document assumes that a flexible routing configuration is the 
configuration of choice. For more information on API restrictions in a fixed routing 
configuration, see the Voice API Programming Guide
Name:
int dx_getxmitslot(chdev, sc_tsinfop)
Inputs:
int chdev
valid channel device handle
SC_TSINFO *sc_tsinfop
pointer to TDM bus time slot information structure
Returns:
0 on success
-1 on error
Includes:
srllib.h
dxxxlib.h
Category:
TDM routing 
Mode:
synchronous
Platform:
DM3, Springware 
Parameter
Description
chdev 
specifies the voice channel device handle obtained when the channel was 
opened using 
sc_tsinfop 
specifies a pointer to the data structure