HostDSP Class Reference
[Hardware registry]

Base class for host processor based card types. More...

#include <vpbreg.h>

Inheritance diagram for HostDSP:

Inheritance graph
[legend]
Collaboration diagram for HostDSP:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HostDSP (VPBREG &reg)
 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.
Port state
virtual void SetHookState (int port, HookState hookstate)=0
 Set the hook state of port.
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 &reg)
 Bare bones constructor for hardware DSP implementations.

Protected Attributes

VPBREGm_reg
 Reference to the VPBREG structure for this HostDSP.


Detailed Description

Base class for host processor based card types.

Generated on Sun Dec 20 17:45:43 2009 for libvpb by  doxygen 1.5.6