Intel 05-1832-002 User Manual
![Intel](https://files.manualsbrain.com/attachments/5a71b1e7f60391972dadeef20435931cbf4621a5/common/fit/150/50/86c99b5f14aeb2708e9a9e1b5305af4ccf882c1af0155dad25413c2ed84e/brand_logo.png)
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
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.
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
-1 on error
Includes:
srllib.h
dxxxlib.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
opened using
sc_tsinfop
specifies a pointer to the data structure