libvpb 4.2.61
|
Public Member Functions | |
OpenPri (VPBREG ®) | |
void | Reset (unsigned int port) |
Reset port to its default cold-start state. | |
void | SetCountry (int port, const Country *country) |
Configure the hardware for country on port of this board. | |
void | SetHookState (int port, HookState hookstate) |
Set the hook state of port. | |
void | PadTxFrame (int port) |
Pad a partial transmit frame for forwarding to the hardware. | |
void | WaitForTxEmpty (int port) |
Block until the transmit buffers for port are empty. | |
void | UNListen (unsigned int port) |
Remove a half duplex bridge or full duplex tap from port. | |
int | chan_state (int ch) |
int | chan_cinfo (int ch, VPB_CALL_INFO *info) |
int | chan_cause (int ch) |
int | call_proceeding (int ch) |
int | chan_layer1 (int ch) |
int | chan_transcap (int ch) |
int | make_isdn_call_api (int ch, char *number, char *cid, int layer1, int transcap, unsigned char *lowlayercompatibility) |
int | chan_lowlayercompatibility (int ch, unsigned char *lowlayercompatibility) |
![]() | |
HostDSP (VPBREG ®) | |
Constructor. | |
virtual | ~HostDSP () |
Destructor. | |
virtual void | SetPSImpedance (int port, int impedance) |
Override the default impedance for ProSLIC ports. | |
virtual void | SetVDAAImpedance (int port, int impedance) |
Override the default impedance for VDAA ports. | |
virtual void | SetFlashTime (int port, uint16_t min, uint16_t max) |
Configure the hook-flash detection window. | |
virtual float | GetHWPlayGain (unsigned int port) |
virtual float | GetHWRecordGain (unsigned int port) |
virtual void | TapListen (unsigned int port, unsigned int srcboard, unsigned int srcport) |
Create a full duplex tap to port of the audio from srcport on srcboard. | |
Additional Inherited Members | |
![]() | |
HostDSP (bool, VPBREG ®) | |
Bare bones constructor for hardware DSP implementations. | |
![]() | |
VPBREG & | m_reg |
Reference to the VPBREG structure for this HostDSP . | |
|
virtual |
Pad a partial transmit frame for forwarding to the hardware.
Implements HostDSP.
References HostDSP::m_reg, and VPBREG::txdf.
|
inlinevirtual |
Reset port to its default cold-start state.
Implements HostDSP.
|
virtual |
Configure the hardware for country on port of this board.
Implements HostDSP.
References VPBREG::cardnum, and HostDSP::m_reg.
|
virtual |
Set the hook state of port.
Implements HostDSP.
References VPBREG::cardnum, VPBREG::cardtypnum, HostDSP::m_reg, Comm::PutMessageVPB(), vpb_c, VPB_FASTOFFHOOK, VPB_OFFHOOK, and VPB_ONHOOK.
|
virtual |
Remove a half duplex bridge or full duplex tap from port.
Reimplemented from HostDSP.
References VPBREG::cardnum, and HostDSP::m_reg.
|
virtual |
Block until the transmit buffers for port are empty.
Implements HostDSP.
References HostDSP::m_reg, and VPBREG::txdf.