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.
|
pure virtual |
|
pure virtual |
Reset port to its default cold-start state.
Implemented in OpenPri, V4PCI_DSP, and VTCore.
Referenced by vpb_reset().
|
pure virtual |
Configure the hardware for country on port of this board.
Implemented in OpenPri, V4PCI_DSP, and VTCore.
Referenced by set_country(), and vpb_set_country().
|
inlinevirtual |
Configure the hook-flash detection window.
Reimplemented in VTCore.
Referenced by vpb_set_flashtime().
|
pure virtual |
Set the hook state of port.
Implemented in OpenPri, V4PCI_DSP, and VTCore.
Referenced by vpb_sethook_async().
|
inlinevirtual |
Override the default impedance for ProSLIC ports.
Reimplemented in VTCore.
|
inlinevirtual |
Override the default impedance for VDAA ports.
Reimplemented in VTCore.
|
inlinevirtual |
Create a full duplex tap to port of the audio from srcport on srcboard.
Reimplemented in VTCore.
References VPBREG::cardnum, and m_reg.
Referenced by vpb_monitor_audio().
|
inlinevirtual |
Remove a half duplex bridge or full duplex tap from port.
Reimplemented in OpenPri, V4PCI_DSP, and VTCore.
References VPBREG::cardnum, and m_reg.
Referenced by vpb_monitor_terminate().