Instruction Manual
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
18 Rev. 2.2
3.13 IFX_TAPI_PHONE_VOLUME_SET
Description
Sets the speaker phone and microphone volume settings.
#define IFX_TAPI_PHONE_VOLUME_SET _IOW(IFX_TAPI_IOC_MAGIC, 0x42, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_PHONE_VOLUME_SET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_PHONE_VOLUME_SET
I/O control identifier for this operation.
unsigned long param
The parameter points to an
IFX_TAPI_LINE_VOLUME_t
structure.
Return Values
Data Type Description
int
IFX_ERROR – Failed to set volume.
IFX_SUCCESS – Successful.
3.14 IFX_TAPI_FXO_HOOK_SET
Description
Issues on-/off-hook in the fxo interface.
#define IFX_TAPI_FXO_HOOK_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xDB, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_HOOK_SET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_FXO_HOOK_SET
I/O control identifier for this operation.
unsigned long
param
Hook requested.
Return Values
Data Type Description
int
IFX_ERROR – Failed to perform hook switch.
IFX_SUCEESS – Successful.