libvpb 4.2.52

VTCore Class Reference

Support for cards using the vtcore driver. More...

#include <vtcore.h>

Inheritance diagram for VTCore:
Collaboration diagram for VTCore:

List of all members.

Public Member Functions

 VTCore (VPBREG &reg)
 Constructor.
 ~VTCore ()
 Destructor.
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 SetFlashTime (int port, uint16_t min, uint16_t max)
 Configure the hook-flash detection window.
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 SetPSImpedance (int port, int impedance)
 Override the default impedance for ProSLIC ports.
void SetVDAAImpedance (int port, int impedance)
 Override the default impedance for VDAA ports.
float GetHWPlayGain (unsigned int port)
float GetHWRecordGain (unsigned int port)
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.
void UNListen (unsigned int port)
 Remove a half duplex bridge or full duplex tap from port.
int chan_state (int ch)
 Get the current state of a port.
VPB_PORT chan_type (int ch)
 Get the type of a port.
HookState hook_state (int ch)
 Get the hook state of a port.

Detailed Description

Support for cards using the vtcore driver.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines