class OpalVpbDevice |
This class describes the Voicetronix line interface device
![]() | OpalVpbDevice () Create a new, closed, device for a VPB card |
![]() | ~OpalVpbDevice () Destroy line interface device. |
![]() | Open ( const PString & device ) Open the device. |
![]() | Close () Close the device |
![]() | GetName () const Get the device name |
![]() | GetLineCount () Get the total number of lines supported by this device |
![]() | IsLineOffHook ( unsigned line ) Determine if line is currently off hook. |
![]() | SetLineOffHook ( unsigned line, BOOL newState = TRUE ) Set the state of the line. |
![]() | IsLineRinging ( unsigned line, DWORD* cadence = NULL ) Determine if line is ringing. |
![]() | IsLineDisconnected ( unsigned line, BOOL checkForWink = TRUE ) Determine if line has been disconnected from a call. |
![]() | GetMediaFormats () const Get the media formats this device is capable of using |
![]() | SetReadFormat ( unsigned line, const OpalMediaFormat & mediaFormat ) Set the codec for reading. |
![]() | SetWriteFormat ( unsigned line, const OpalMediaFormat & mediaFormat ) Set the codec for writing. |
![]() | GetReadFormat ( unsigned line ) Get the media format (codec) for reading on the specified line. |
![]() | GetWriteFormat ( unsigned line ) Get the media format (codec) for writing on the specified line. |
![]() | StopReadCodec ( unsigned line ) Stop the read codec. |
![]() | StopWriteCodec ( unsigned line ) Stop the write codec. |
![]() | SetReadFrameSize ( unsigned line, PINDEX frameSize ) Set the read frame size in bytes. |
![]() | SetWriteFrameSize ( unsigned line, PINDEX frameSize ) Set the write frame size in bytes. |
![]() | GetReadFrameSize ( unsigned line ) Get the read frame size in bytes. |
![]() | GetWriteFrameSize ( unsigned line ) Get the write frame size in bytes. |
![]() | ReadFrame ( unsigned line, void* buf, PINDEX & count ) Low level read of a frame from the device. |
![]() | WriteFrame ( unsigned line, const void* buf, PINDEX count, PINDEX & written ) Low level write frame to the device. |
![]() | SetRecordVolume ( unsigned line, unsigned volume ) Set volume level for recording. |
![]() | SetPlayVolume ( unsigned line, unsigned volume ) Set volume level for playing. |
![]() | GetOSHandle ( unsigned line ) Return line handle |
![]() | ReadDTMF ( unsigned line ) Read a DTMF digit detected. |
![]() | PlayDTMF ( unsigned line, const char* digits, DWORD onTime = 90, DWORD offTime = 30 ) Play a DTMF digit. |
![]() | IsToneDetected ( unsigned line ) See if a tone is detected. |
This class describes the Voicetronix line interface device
Alphabetic index HTML hierarchy of classes or Java