Instruction Manual

UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide
Rev. 2.2 13
3.6 IFX_TAPI_PCM_ACTIVATION_GET
Description
This service gets the activation status of the PCM time slots configured for this channel.
#define IFX_TAPI_PCM_ACTIVATION_GET _IO(IFX_TAPI_IOC_MAGIC, 0x07)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_PCM_ACTIVATION_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
IFX_TAPI_PCM_ACTIVATION_GET
I/O control identifier for this operation.
unsigned long param
The parameter points to an integer
which returns the status 0: The time slot
is deactivate, or 1: The time slot is
active.
Return Values
Data Type Description
int
IFX_ERROR Failed to retrieve PCM channel activation status.
IFX_SUCCESS Successful.