libvpb
4.2.61
|
Base class for host processor based card types. More...
#include <vpbreg.h>
Public Member Functions | |
HostDSP (VPBREG ®) | |
Constructor. | |
virtual | ~HostDSP () |
Destructor. | |
Port reinitialisation | |
virtual void | Reset (unsigned int port)=0 |
Reset port to its default cold-start state. | |
Port localisation | |
virtual void | SetCountry (int port, const Country *country)=0 |
Configure the hardware for country on port of this board. | |
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. | |
Port state | |
virtual void | SetHookState (int port, HookState hookstate)=0 |
Set the hook state of port. | |
virtual void | PadTxFrame (int port)=0 |
Pad a partial transmit frame for forwarding to the hardware. | |
virtual void | WaitForTxEmpty (int port)=0 |
Block until the transmit buffers for port are empty. | |
Port Audio control | |
virtual float | GetHWPlayGain (unsigned int port) |
virtual float | GetHWRecordGain (unsigned int port) |
Port bridging and monitoring | |
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. | |
virtual void | UNListen (unsigned int port) |
Remove a half duplex bridge or full duplex tap from port. | |
Protected Member Functions | |
HostDSP (bool, VPBREG ®) | |
Bare bones constructor for hardware DSP implementations. | |
Protected Attributes | |
VPBREG & | m_reg |
Reference to the VPBREG structure for this HostDSP . | |
Base class for host processor based card types.