Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

src/jni/dx.cpp File Reference

#include "common.h"
#include "net_threebit_jvr_dx.h"
#include "net_threebit_jvr_DV_0005fDIGIT.h"
#include "net_threebit_jvr_DX_0005fIOTT.h"
#include "net_threebit_jvr_DX_0005fXPB.h"

Go to the source code of this file.

Defines

#define DIGBUF_MAXSIZE   512
#define JVR_DIGBUF_INIT   0
#define JVR_DIGBUF_READY   1
#define JVR_DXXPB_SIZE   200

Functions

JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1IOTT_allocate (JNIEnv *e, jobject o)
JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1IOTT_release (JNIEnv *e, jobject o)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer (JNIEnv *e, jclass c)
JNIEXPORT void JNICALL Java_net_threebit_jvr_DV_1DIGIT_releaseBuffer (JNIEnv *e, jclass c, jint offset)
JNIEXPORT jstring JNICALL Java_net_threebit_jvr_DV_1DIGIT_getDigits (JNIEnv *e, jclass c, jint offset)
JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1XPB_allocate (JNIEnv *e, jobject o)
JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1XPB_release (JNIEnv *e, jobject o)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_open (JNIEnv *e, jclass c, jstring name, jint flags)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_close (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_sethook (JNIEnv *e, jclass c, jint dev, jint hookstate, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_setevtmsk (JNIEnv *e, jclass c, jint dev, jint mask)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_listen (JNIEnv *e, jclass c, jint dev, jobject jtsinfo)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_unlisten (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_dx_getxmitslot (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_dial (JNIEnv *e, jclass c, jint dev, jstring jdialstr, jobject jdxcap, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_stopch (JNIEnv *e, jclass c, jint dev, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_clrdigbuf (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_dx_bldtngen (JNIEnv *e, jclass c, jint freq1, jint freq2, jint ampl1, jint ampl2, jint dur)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playtone (JNIEnv *e, jclass c, jint dev, jobject jtngen, jobjectArray jtpt, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playtoneEx (JNIEnv *e, jclass c, jint dev, jobject jtngencad, jobjectArray jtpt, jint mode)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1TERMMSK (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jstring JNICALL Java_net_threebit_jvr_dx_getdig (JNIEnv *e, jclass c, jint dev, jobjectArray jtpt, jobject jdigit, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playvox (JNIEnv *e, jclass c, jint dev, jstring filename, jobjectArray jtpt, jobject jxpb, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playwav (JNIEnv *e, jclass c, jint dev, jstring filename, jobjectArray jtpt, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_recf (JNIEnv *e, jclass c, jint dev, jstring filename, jobjectArray jtpt, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_rec (JNIEnv *e, jclass c, jint dev, jobjectArray jiott, jobjectArray jtpt, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileopen (JNIEnv *e, jclass c, jstring filename, jint flags, jint pmode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileclose (JNIEnv *e, jclass c, jint handle)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileerrno (JNIEnv *e, jclass c)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1CONNTYPE (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1LONGLOW (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1SHORTLOW (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1SIZEHI (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1TRCOUNT (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1CPTERM (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_wtring (JNIEnv *e, jclass c, jint dev, jint rings, jint hookState, jint timeout)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_mreciottdata (JNIEnv *e, jclass c, jint dev, jobjectArray jiottArray, jobjectArray jtptArray, jobject jxpb, jint mode, jobject jtsinfo)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1HOOKST (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_recwav (JNIEnv *e, jclass c, jint dev, jstring jfilename, jobjectArray jtpt, jobject jxpb, jint mode)
JNIEXPORT jstring JNICALL Java_net_threebit_jvr_dx_wtcallid (JNIEnv *e, jclass c, jint dev, jint rings, jint timeout)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_getparm (JNIEnv *e, jclass c, jint dev, jint parm)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_setparm (JNIEnv *e, jclass c, jint dev, jint parm, jint value)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_play (JNIEnv *e, jclass c, jint dev, jobjectArray jiott, jobjectArray jtpt, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_reciottdata (JNIEnv *e, jclass c, jint dev, jobjectArray jiottArray, jobjectArray jtptArray, jobject jxpb, jint mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playiottdata (JNIEnv *e, jclass c, jint dev, jobjectArray jiottArray, jobjectArray jtptArray, jobject jxpb, jint mode)
int dx_uio_read (int fd, char *ptr, unsigned cnt)
int dx_uio_write (int fd, char *ptr, unsigned cnt)
long dx_uio_seek (int fd, long offset, int whence)
JNIEXPORT void JNICALL Java_net_threebit_jvr_dx_initDxClass (JNIEnv *e, jclass c)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_deltones (JNIEnv *e, jclass c, jint dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgdur (JNIEnv *e, jclass c, jint tonetype, jint ontime, jint ondev, jint offtime, jint offdev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgfreq (JNIEnv *e, jclass c, jint tonetype, jint freq1, jint freq1dev, jint freq2, jint freq2dev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgrepcnt (JNIEnv *e, jclass c, jint tonetype, jint repcnt)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_initcallp (JNIEnv *e, jclass c, jint dev)

Variables

DX_IOTT jvr_iott_buff [JVR_IOTT_SIZE]
int jvr_iott_alloc [JVR_IOTT_SIZE]
int jvr_iott_ready = 0
DV_DIGIT jvr_digbuf [DIGBUF_MAXSIZE]
int jvr_digbuf_alloc [DIGBUF_MAXSIZE]
DX_XPB jvr_dxxpb_buff [JVR_DXXPB_SIZE]
int jvr_dxxpb_alloc [JVR_DXXPB_SIZE]
int jvr_dxxpb_ready = 0


Define Documentation

#define DIGBUF_MAXSIZE   512
 

Definition at line 103 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer().

#define JVR_DIGBUF_INIT   0
 

Definition at line 112 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer().

#define JVR_DIGBUF_READY   1
 

Definition at line 113 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer().

#define JVR_DXXPB_SIZE   200
 

Definition at line 207 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1XPB_allocate().


Function Documentation

int dx_uio_read int  fd,
char *  ptr,
unsigned  cnt
 

Used for user supplied input/output functions. See initDxClass();

Definition at line 1211 of file dx.cpp.

References dx_class, dx_uio_read_method, and jvr_getVM().

Referenced by Java_net_threebit_jvr_dx_initDxClass().

long dx_uio_seek int  fd,
long  offset,
int  whence
 

Used for user supplied input/output functions. See initDxClass();

Definition at line 1299 of file dx.cpp.

References dx_class, dx_uio_seek_method, and jvr_getVM().

Referenced by Java_net_threebit_jvr_dx_initDxClass().

int dx_uio_write int  fd,
char *  ptr,
unsigned  cnt
 

Used for user supplied input/output functions. See initDxClass();

Definition at line 1269 of file dx.cpp.

References dx_class, dx_uio_write_method, and jvr_getVM().

Referenced by Java_net_threebit_jvr_dx_initDxClass().

JNIEXPORT jint JNICALL Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer JNIEnv *  e,
jclass  c
 

Definition at line 121 of file dx.cpp.

References DIGBUF_MAXSIZE, jvr_digbuf_alloc, JVR_DIGBUF_INIT, JVR_DIGBUF_READY, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jstring JNICALL Java_net_threebit_jvr_DV_1DIGIT_getDigits JNIEnv *  e,
jclass  c,
jint  offset
 

Definition at line 180 of file dx.cpp.

References digits, jvr_digbuf, jvr_digbuf_alloc, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT void JNICALL Java_net_threebit_jvr_DV_1DIGIT_releaseBuffer JNIEnv *  e,
jclass  c,
jint  offset
 

Definition at line 161 of file dx.cpp.

References jvr_digbuf_alloc, JVR_ENTER, and JVR_EXIT.

JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1IOTT_allocate JNIEnv *  e,
jobject  o
 

Definition at line 41 of file dx.cpp.

References dx_iott_class, JVR_ENTER, JVR_EXIT, jvr_iott_alloc, jvr_iott_buff, jvr_iott_ready, JVR_IOTT_SIZE, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1IOTT_release JNIEnv *  e,
jobject  o
 

Definition at line 85 of file dx.cpp.

References dx_iott_offset, JVR_ENTER, JVR_EXIT, and jvr_iott_alloc.

JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1XPB_allocate JNIEnv *  e,
jobject  o
 

Definition at line 218 of file dx.cpp.

References dx_xpb_offset, jvr_dxxpb_alloc, jvr_dxxpb_ready, JVR_DXXPB_SIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT void JNICALL Java_net_threebit_jvr_DX_1XPB_release JNIEnv *  e,
jobject  o
 

Definition at line 260 of file dx.cpp.

References dx_xpb_offset, jvr_dxxpb_alloc, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1CONNTYPE JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 823 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1CPTERM JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 903 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1HOOKST JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 978 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1LONGLOW JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 839 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1SHORTLOW JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 855 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1SIZEHI JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 871 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1TERMMSK JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 563 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_dx_ATDX_1TRCOUNT JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 887 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_dx_bldtngen JNIEnv *  e,
jclass  c,
jint  freq1,
jint  freq2,
jint  ampl1,
jint  ampl2,
jint  dur
 

Definition at line 483 of file dx.cpp.

References init(), jvr_convert_tngen_n2j(), JVR_ENTER, JVR_EXIT, and tn_gen_class.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgdur JNIEnv *  e,
jclass  c,
jint  tonetype,
jint  ontime,
jint  ondev,
jint  offtime,
jint  offdev
 

Definition at line 1361 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgfreq JNIEnv *  e,
jclass  c,
jint  tonetype,
jint  freq1,
jint  freq1dev,
jint  freq2,
jint  freq2dev
 

Definition at line 1380 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_chgrepcnt JNIEnv *  e,
jclass  c,
jint  tonetype,
jint  repcnt
 

Definition at line 1399 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_close JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 305 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_clrdigbuf JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 467 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_deltones JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 1345 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_dial JNIEnv *  e,
jclass  c,
jint  dev,
jstring  jdialstr,
jobject  jdxcap,
jint  mode
 

Definition at line 423 of file dx.cpp.

References jvr_convert_dxcap_j2n(), JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileclose JNIEnv *  e,
jclass  c,
jint  handle
 

Definition at line 782 of file dx.cpp.

References close(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileerrno JNIEnv *  e,
jclass  c
 

Definition at line 806 of file dx.cpp.

References jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_fileopen JNIEnv *  e,
jclass  c,
jstring  filename,
jint  flags,
jint  pmode
 

Definition at line 753 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, and JVR_THROW_JVR.

JNIEXPORT jstring JNICALL Java_net_threebit_jvr_dx_getdig JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jtpt,
jobject  jdigit,
jint  mode
 

Definition at line 579 of file dx.cpp.

References digits, dv_digit_class, jvr_convert_dvtpt_j2n(), jvr_digbuf, JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_getparm JNIEnv *  e,
jclass  c,
jint  dev,
jint  parm
 

Definition at line 1052 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_dx_getxmitslot JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 395 of file dx.cpp.

References init(), jvr_convert_sctsinfo_n2j(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, and sc_tsinfo_class.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_initcallp JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 1418 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT void JNICALL Java_net_threebit_jvr_dx_initDxClass JNIEnv *  e,
jclass  c
 

Definition at line 1325 of file dx.cpp.

References dx_uio_read(), dx_uio_seek(), dx_uio_write(), jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_listen JNIEnv *  e,
jclass  c,
jint  dev,
jobject  jtsinfo
 

Definition at line 358 of file dx.cpp.

References jvr_convert_sctsinfo_j2n(), JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_mreciottdata JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jiottArray,
jobjectArray  jtptArray,
jobject  jxpb,
jint  mode,
jobject  jtsinfo
 

Definition at line 935 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_dxiott_j2n(), jvr_convert_dxxpb_j2n(), jvr_convert_sctsinfo_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_open JNIEnv *  e,
jclass  c,
jstring  name,
jint  flags
 

Definition at line 282 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_play JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jiott,
jobjectArray  jtpt,
jint  mode
 

Definition at line 1089 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_dxiott_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playiottdata JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jiottArray,
jobjectArray  jtptArray,
jobject  jxpb,
jint  mode
 

Definition at line 1159 of file dx.cpp.

References dx_xpb_offset, jvr_convert_dvtpt_j2n(), jvr_convert_dxiott_j2n(), jvr_convert_dxxpb_j2n(), JVR_DVTPT_MAXSIZE, jvr_dxxpb_buff, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playtone JNIEnv *  e,
jclass  c,
jint  dev,
jobject  jtngen,
jobjectArray  jtpt,
jint  mode
 

Definition at line 503 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_tngen_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playtoneEx JNIEnv *  e,
jclass  c,
jint  dev,
jobject  jtngencad,
jobjectArray  jtpt,
jint  mode
 

Definition at line 534 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_tngencad_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playvox JNIEnv *  e,
jclass  c,
jint  dev,
jstring  filename,
jobjectArray  jtpt,
jobject  jxpb,
jint  mode
 

Definition at line 636 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_dxxpb_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_playwav JNIEnv *  e,
jclass  c,
jint  dev,
jstring  filename,
jobjectArray  jtpt,
jint  mode
 

Definition at line 671 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_rec JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jiott,
jobjectArray  jtpt,
jint  mode
 

Definition at line 725 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_dxiott_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_recf JNIEnv *  e,
jclass  c,
jint  dev,
jstring  filename,
jobjectArray  jtpt,
jint  mode
 

Definition at line 698 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_reciottdata JNIEnv *  e,
jclass  c,
jint  dev,
jobjectArray  jiottArray,
jobjectArray  jtptArray,
jobject  jxpb,
jint  mode
 

Definition at line 1121 of file dx.cpp.

References dx_xpb_offset, jvr_convert_dvtpt_j2n(), jvr_convert_dxiott_j2n(), jvr_convert_dxxpb_j2n(), JVR_DVTPT_MAXSIZE, jvr_dxxpb_buff, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_recwav JNIEnv *  e,
jclass  c,
jint  dev,
jstring  jfilename,
jobjectArray  jtpt,
jobject  jxpb,
jint  mode
 

Definition at line 994 of file dx.cpp.

References jvr_convert_dvtpt_j2n(), jvr_convert_dxxpb_j2n(), JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and tpt.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_setevtmsk JNIEnv *  e,
jclass  c,
jint  dev,
jint  mask
 

Definition at line 342 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_sethook JNIEnv *  e,
jclass  c,
jint  dev,
jint  hookstate,
jint  mode
 

Definition at line 326 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_setparm JNIEnv *  e,
jclass  c,
jint  dev,
jint  parm,
jint  value
 

Definition at line 1070 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_stopch JNIEnv *  e,
jclass  c,
jint  dev,
jint  mode
 

Definition at line 451 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_unlisten JNIEnv *  e,
jclass  c,
jint  dev
 

Definition at line 379 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jstring JNICALL Java_net_threebit_jvr_dx_wtcallid JNIEnv *  e,
jclass  c,
jint  dev,
jint  rings,
jint  timeout
 

Definition at line 1033 of file dx.cpp.

References JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_DG.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_dx_wtring JNIEnv *  e,
jclass  c,
jint  dev,
jint  rings,
jint  hookState,
jint  timeout
 

Definition at line 919 of file dx.cpp.

References JVR_ENTER, jvr_throw(), and JVR_THROW_DG.


Variable Documentation

DV_DIGIT jvr_digbuf[DIGBUF_MAXSIZE]
 

Definition at line 106 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DV_1DIGIT_getDigits(), and Java_net_threebit_jvr_dx_getdig().

int jvr_digbuf_alloc[DIGBUF_MAXSIZE]
 

Definition at line 109 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DV_1DIGIT_allocateBuffer(), Java_net_threebit_jvr_DV_1DIGIT_getDigits(), and Java_net_threebit_jvr_DV_1DIGIT_releaseBuffer().

int jvr_dxxpb_alloc[JVR_DXXPB_SIZE]
 

Definition at line 209 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1XPB_allocate(), and Java_net_threebit_jvr_DX_1XPB_release().

DX_XPB jvr_dxxpb_buff[JVR_DXXPB_SIZE]
 

Definition at line 208 of file dx.cpp.

Referenced by Java_net_threebit_jvr_dx_playiottdata(), and Java_net_threebit_jvr_dx_reciottdata().

int jvr_dxxpb_ready = 0
 

Definition at line 210 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1XPB_allocate().

int jvr_iott_alloc[JVR_IOTT_SIZE]
 

Definition at line 32 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate(), Java_net_threebit_jvr_DX_1IOTT_release(), and jvr_convert_dxiott_j2n().

DX_IOTT jvr_iott_buff[JVR_IOTT_SIZE]
 

Definition at line 31 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate().

int jvr_iott_ready = 0
 

Definition at line 33 of file dx.cpp.

Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate().


Generated on Sat Jul 16 03:47:35 2005 for JVR by doxygen 1.3.5