Global Const SV_SETDEFAULT = &H20 '/* Reset to default S/V Modification Table */
Global Const SV_LEVEL = &H100 '/* Digit level sensitive */
Global Const SV_BEGINPLAY = &H200 '/* Apply play adjustment at beginning of each playback */
'/*
' * S/V toggle modes for Play Adjustment Conditions
' */
Global Const SV_TOGORIGIN = &H0 '/* Toggle between origin and last modified position */
Global Const SV_CURORIGIN = &H1 '/* Reset current position to the origin */
Global Const SV_CURLASTMOD = &H2 '/* Reset current position to last modified position */
Global Const SV_RESETORIG = &H3 '/* Reset current position and last modified state to origin */
'/*
' * S/V defines for dl_addspddig()
' */
Global Const SV_ADD10PCT = 1 '/* Speed up playback 10 percent */
Global Const SV_ADD20PCT = 2 '/* Speed up playback 20 percent */
Global Const SV_ADD30PCT = 3 '/* Speed up playback 30 percent */
Global Const SV_ADD40PCT = 4 '/* Speed up playback 40 percent */
Global Const SV_ADD50PCT = 5 '/* Speed up playback 50 percent */
Global Const SV_SUB10PCT = -1 '/* Slow down playback 10 percent */
Global Const SV_SUB20PCT = -2 '/* Slow down playback 20 percent */
Global Const SV_SUB30PCT = -3 '/* Slow down playback 30 percent */
Global Const SV_SUB40PCT = -4 '/* Slow down playback 40 percent */
Global Const SV_SUB50PCT = -5 '/* Slow down playback 50 percent */
Global Const SV_NORMAL = &HFF ' /* Set playback to normal speed/vol */
'/*
' * S/V defines for dl_addvoldig()
' */
Global Const SV_ADD2DB = 1 '/* Increase volume of playback 2dB */
Global Const SV_ADD4DB = 2 '/* Increase volume of playback 4dB */
Global Const SV_ADD6DB = 3 '/* Increase volume of playback 6dB */
Global Const SV_ADD8DB = 4 '/* Increase volume of playback 8dB */
Global Const SV_SUB2DB = -1 '/* Decrease volume of playback 2dB */
Global Const SV_SUB4DB = -2 '/* Decrease volume of playback 4dB */
Global Const SV_SUB6DB = -3 '/* Decrease volume of playback 6dB */
Global Const SV_SUB8DB = -4 '/* Decrease volume of playback 8dB */
'
'
' * function prototypes
'
Declare Sub clrrwb Lib "VBV_DLGC.DLL" (mRWB As RWB)
Declare Sub clrxrwb Lib "VBV_DLGC.DLL" (mRWB As RWB)
Declare Sub clrdcb Lib "VBV_DLGC.DLL" (mDCB As DCB)
Declare Sub clrcpb Lib "VBV_DLGC.DLL" (mCPB As CPB)
Declare Function setcparm Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mCPB As CPB) As Integer
Declare Function stopch Lib "VBV_DLGC.DLL" (ByVal ch As Integer) As Integer
Declare Function getcstat Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mCSB As CSB) As Integer
Declare Function sethook Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal onoff As Integer) As Integer
Declare Function setcst Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal mask As Integer, ByVal numrings As Integer) As Integer
Declare Function clrdtmf Lib "VBV_DLGC.DLL" (ByVal ch As Integer) As Integer
Declare Function readdtmf Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal dtmf As String) As Integer
Declare Function recfile Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mRWB As RWB, ByVal Prm3 As Integer) As Integer
Declare Function xplayf Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, mRWB As RWB) As Integer
Declare Function dial Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal dialstr As String) As Integer
Declare Function callp Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal dialstr As String) As Integer
Declare Function getdtmfs Lib "VBV_DLGC.DLL" (ByVal ch As Integer, Prm2 As RWB) As Integer
Declare Function setdmask Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal mask As Integer, ByVal Prm3 As Integer) As Integer
Declare Function getver Lib "VBV_DLGC.DLL" (xx As Integer, yy As Integer) As Integer
Declare Function getcom Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mDACCB As DACCB) As Integer
Declare Function putcom Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mADCCB As ADCCB) As Integer
Declare Function playuser Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As String, Prm3 As Integer) As Integer
Declare Function recuser Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As String, Prm3 As Integer) As Integer
Declare Function getcar Lib "VBV_DLGC.DLL" (ByVal ch As Integer, mCAR As CAR) As Integer
Declare Function sw_on Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer) As Integer
Declare Function sw_off Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer) As Integer
Declare Function amx_off Lib "VBV_DLGC.DLL" () As Integer
Declare Function amx_msk Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer) As Integer
Declare Function ring Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer) As Integer
Declare Function set_ring Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer) As Integer
Declare Function putevt Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function setiparm Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function wink Lib "VBV_DLGC.DLL" (ByVal ch As Integer) As Integer
Declare Function sb_route Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer) As Integer
Declare Function sb_rtrcvxmt Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Type IDCB
version As Integer ' firmware revision
segment As Integer ' segment address
type As String * 1' board type
int_lvl As String * 1' hardware interrupt level
bufsize As Integer ' size of buffer
numchan As String * 1' number of channels
basechn As String * 1' base channel - 1
config As String * 1' copy of dl_syscfg from d40
product As String * 1' copy of dl_product, A/B info
rfu As String * 20' 20 chars
End Type
Declare Function calld40 Lib "VBV_DLGC.DLL" (ByVal Prm1 As String, ByVal Prm2 As String, Prm3 As Integer, Prm4 As Integer, Prm5 As Integer) As Integer
'important note for calld40x: parameter ptr must be a real mode segment/offset! (use GlobalDosAlloc/GlobalDosFree)
Declare Function calld40x Lib "VBV_DLGC.DLL" (ByVal Prm1 As String, ByVal Prm2 As String, Prm3 As Integer, Prm4 As Integer, ptr As Any) As Integer
'note this function must not be called before vbv_start_system ! (or it will fail)
Declare Function startamx Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, Prm2 As Integer) As Integer
Declare Function stopamx Lib "VBV_DLGC.DLL" () As Integer
Declare Function dl_addtone Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function dl_deltones Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer) As Integer
Declare Function dl_enbtone Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function dl_distone Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function dl_blddt Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer, ByVal Prm5 As Integer, ByVal Prm6 As Integer) As Integer
Declare Function dl_blddtcad Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer, ByVal Prm5 As Integer, ByVal Prm6 As Integer, ByVal Prm7 As Integer, ByVal Prm8 As Integer, ByVal Prm9 As Integer) As Integer
Declare Function dl_bldst Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer) As Integer
Declare Function dl_bldstcad Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer, ByVal Prm5 As Integer, ByVal Prm6 As Integer, ByVal Prm7 As Integer, ByVal Prm8 As Integer) As Integer
Declare Function buildtone Lib "VBV_DLGC.DLL" (ByVal Prm1 As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer, ByVal Prm5 As Integer, ByVal Prm6 As Integer, ByVal Prm7 As Integer, ByVal Prm8 As Integer, ByVal Prm9 As Integer, ByVal Prm10 As Integer, ByVal Prm11 As Integer, ByVal Prm12 As Integer) As Integer
Declare Function dl_playtone Lib "VBV_DLGC.DLL" (ByVal ch As Integer, RWB As RWB) As Integer
Declare Sub dl_bldtngen Lib "VBV_DLGC.DLL" (TN_GEN As TN_GEN, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer, ByVal Prm5 As Integer, ByVal Prm6 As Integer)
Declare Function dl_adjsv Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer, ByVal Prm4 As Integer)
Declare Function dl_setsvcond Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, Prm3 As SVCB) As Integer
Declare Function dl_clrsvcond Lib "VBV_DLGC.DLL" (ByVal ch As Integer)
Declare Function dl_getcursv Lib "VBV_DLGC.DLL" (ByVal ch As Integer, Prm2 As Integer, Prm3 As Integer) As Integer
Declare Function dl_setsvmt Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, Prm3 As SVMT, ByVal Prm4 As Integer) As Integer
Declare Function dl_getsvmt Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, Prm3 As SVMT) As Integer
Declare Function dl_addspddig Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer
Declare Function dl_addvoldig Lib "VBV_DLGC.DLL" (ByVal ch As Integer, ByVal Prm2 As Integer, ByVal Prm3 As Integer) As Integer