ixjDefs.h File Reference

#include "ixjIdb.h"

Go to the source code of this file.

Classes

struct  IDLE_TONE
struct  IDLE_NEW_TONE
struct  _MIXER_LINE
struct  PERF_STAT
struct  ipj_vxd_devio

Defines

#define MODEL_INTERNET_PHONEJACK   0x0100
#define MODEL_INTERNET_BLACKJACK   0x0200
#define MODEL_INTERNET_LINEJACK   0x0300
#define MODEL_INTERNET_PHONEJACK_LITE   0x0400
#define MODEL_INTERNET_PHONEJACK_PCI   0x0500
#define MODEL_INTERNET_PHONEJACK_TJPCI   0x0501
#define MODEL_INTERNET_PHONECARD   0x0600
#define CODEC_RATE_4000Hz   4000
#define CODEC_RATE_5500Hz   5500
#define CODEC_RATE_6000Hz   6000
#define CODEC_RATE_7333Hz   7333
#define CODEC_RATE_8000Hz   8000
#define CODEC_RATE_11025Hz   11025
#define CODEC_RATE_16000Hz   16000
#define CODEC_RATE_22050Hz   22050
#define CODEC_RATE_32000Hz   32000
#define CODEC_RATE_33075Hz   33075
#define CODEC_RATE_44100Hz   44100
#define CODEC_RATE_48000Hz   48000
#define OLD_CODEC_RATE_4000Hz   1000
#define OLD_CODEC_RATE_5500Hz   1010
#define OLD_CODEC_RATE_6000Hz   1020
#define OLD_CODEC_RATE_7333Hz   1030
#define OLD_CODEC_RATE_8000Hz   1040
#define OLD_CODEC_RATE_11025Hz   1050
#define OLD_CODEC_RATE_16000Hz   1060
#define OLD_CODEC_RATE_22050Hz   1070
#define OLD_CODEC_RATE_32000Hz   1080
#define OLD_CODEC_RATE_33075Hz   1090
#define OLD_CODEC_RATE_44100Hz   1100
#define OLD_CODEC_RATE_48000Hz   1110
#define CODEC_FSYNC_RATE_371   371
#define CODEC_FSYNC_RATE_340   340
#define CODEC_FSYNC_RATE_278   278
#define CODEC_FSYNC_RATE_255   255
#define CODEC_FSYNC_RATE_251   251
#define CODEC_FSYNC_RATE_185   185
#define CODEC_FSYNC_RATE_175   175
#define CODEC_FSYNC_RATE_127   127
#define CODEC_FSYNC_RATE_125   125
#define CODEC_FSYNC_RATE_92   92
#define CODEC_FSYNC_RATE_63   63
#define CODEC_FSYNC_RATE_61   61
#define CODEC_FSYNC_RATE_45   45
#define CODEC_FSYNC_RATE_42   42
#define CODEC_CO_RATE_9   9
#define CODEC_CO_RATE_13   13
#define CODEC_CO_RATE_19   19
#define CODEC_CO_RATE_18   18
#define COMPRESS_MODE_TRUESPEECH   0
#define COMPRESS_MODE_ULAW   2
#define COMPRESS_MODE_16LINEAR   6
#define COMPRESS_MODE_8LINEAR   4
#define COMPRESS_MODE_8LINEAR_WSS   5
#define COMPRESS_RATE_TS85   0
#define COMPRESS_RATE_TS63   1
#define COMPRESS_RATE_TS53   2
#define COMPRESS_RATE_TS48   3
#define COMPRESS_RATE_TS41   4
#define COMPRESS_RATE_G7231_TS63   1
#define COMPRESS_RATE_G7231_TS53   2
#define COMPRESS_FRAME_TRUESPEECH   0
#define COMPRESS_FRAME_ULAW   120
#define COMPRESS_FRAME_16LINEAR   240
#define COMPRESS_FRAME_8LINEAR   120
#define COMPRESS_FRAME_8LINEAR_WSS   120
#define COMPRESS_FRAME_TS85   16
#define COMPRESS_FRAME_TS63   12
#define COMPRESS_FRAME_TS53   10
#define COMPRESS_FRAME_TS48   9
#define COMPRESS_FRAME_TS41   8
#define COMPRESS_FRAME_G7231_TS63   COMPRESS_FRAME_TS63
#define COMPRESS_FRAME_G7231_TS53   COMPRESS_FRAME_TS53
#define COMPRESS_MAX_BUFFER_SIZE   COMPRESS_FRAME_16LINEAR
#define ANALOG_SOURCE_POTSPHONE   (0x0)
#define ANALOG_SOURCE_SPEAKERPHONE   (0x1)
#define ANALOG_SOURCE_HANDSETPHONE   (0x2)
#define ANALOG_SOURCE_PSTNLINE   (0x2)
#define LINEJACK_MODE_PHONEJACK   (0x0)
#define LINEJACK_MODE_LINEJACK   (0x1)
#define LINEJACK_MODE_STANDALONE   (0x2)
#define DEVICE_SPEAKERPHONE   0x01
#define DEVICE_POTS   0x02
#define DEVICE_HANDSET   0x04
#define DEVICE_PSTN   0x08
#define COEFF_US   0
#define COEFF_UK   1
#define COEFF_FRANCE   2
#define COEFF_GERMANY   3
#define COEFF_AUSTRALIA   4
#define COEFF_JAPAN   5
#define COEFF_CTR21   6
#define COEFF_CZECH   7
#define COEFF_GERMANY2   8
#define COEFF_ITALY   9
#define COEFF_SOUTH_KOREA   10
#define COEFF_NEW_ZEALAND   11
#define COEFF_NORWAY   12
#define COEFF_PHILIPPINES   13
#define COEFF_POLAND   14
#define COEFF_SOUTH_AFRICA   15
#define COEFF_SWEDEN   16
#define SLIC_STATE_OPENCIRCUIT   0
#define SLIC_STATE_RINGING   1
#define SLIC_STATE_ACTIVE   2
#define SLIC_STATE_OHT   3
#define SLIC_STATE_TIPOPEN   4
#define SLIC_STATE_STANDBY   5
#define SLIC_STATE_APR   6
#define SLIC_STATE_OHTPR   7
#define SLIC_OFF_HOOK   (0x0)
#define SLIC_ON_HOOK   (0x1)
#define LINE_TEST_OK   0
#define LINE_TEST_TESTING   1
#define LINE_TEST_POTS_OFF_HOOK   2
#define LINE_TEST_LINE_CONNECTED_TO_POTS   3
#define LINE_TEST_NO_LINE_PRESENT   4
#define RING_PATTERN_MASK   (0x0FFF)
#define DEVCTRL_HOOKSTATE_INIT   0
#define DEVCTRL_HOOKSTATE_ON_HOOK_1   1
#define DEVCTRL_HOOKSTATE_ON_HOOK_2   2
#define DEVCTRL_HOOKSTATE_ON_HOOK_3   3
#define DEVCTRL_HOOKSTATE_OFF_HOOK_1   4
#define DEVCTRL_HOOKSTATE_OFF_HOOK_2   5
#define DEVCTRL_HOOKSTATE_OFF_HOOK_3   6
#define DEVCTRL_RINGSTATE_INIT   0
#define DEVCTRL_RINGSTATE_RING_0   1
#define DEVCTRL_RINGSTATE_RING_1   2
#define DEVCTRL_RINGSTATE_RING_2   3
#define DEVCTRL_RINGSTATE_RING_3   4
#define DEVCTRL_RINGSTATE_RING_4   5
#define DEVCTRL_RINGSTATE_RING_5   6
#define DEVCTRL_RINGSTATE_RING_6   7
#define DEVCTRL_RINGSTATE_RING_7   8
#define DEVCTRL_RINGSTATE_RING_8   9
#define DEVCTRL_RINGSTATE_RING_9   10
#define DEVCTRL_RINGSTATE_RING_10   11
#define DEVCTRL_RINGSTATE_RING_11   12
#define FILTER_MODE_SYNC   0
#define FILTER_MODE_ASYNC   1
#define FILTER_LINE_VOLUME_POS_0DB   2
#define FILTER_LINE_VOLUME_MUTE   3
#define FILTER_SPEAKER_VOLUME_POS_14DB   0
#define FILTER_SPEAKER_VOLUME_POS_12DB   1
#define FILTER_SPEAKER_VOLUME_POS_10DB   2
#define FILTER_SPEAKER_VOLUME_POS_8DB   3
#define FILTER_SPEAKER_VOLUME_POS_6DB   4
#define FILTER_SPEAKER_VOLUME_POS_4DB   5
#define FILTER_SPEAKER_VOLUME_POS_2DB   6
#define FILTER_SPEAKER_VOLUME_POS_0DB   7
#define FILTER_SPEAKER_VOLUME_NEG_2DB   8
#define FILTER_SPEAKER_VOLUME_NEG_4DB   9
#define FILTER_SPEAKER_VOLUME_NEG_6DB   10
#define FILTER_SPEAKER_VOLUME_NEG_8DB   11
#define FILTER_SPEAKER_VOLUME_NEG_10DB   12
#define FILTER_SPEAKER_VOLUME_NEG_12DB   13
#define FILTER_SPEAKER_VOLUME_NEG_14DB   14
#define FILTER_SPEAKER_VOLUME_MUTE   15
#define FILTER_DTMFSTATE_INIT   0
#define FILTER_DTMFSTATE_NOT_VALID_1   1
#define FILTER_DTMFSTATE_NOT_VALID_2   2
#define FILTER_DTMFSTATE_NOT_VALID_3   3
#define FILTER_DTMFSTATE_VALID_1   4
#define FILTER_DTMFSTATE_VALID_2   5
#define FILTER_DTMFSTATE_VALID_3   6
#define FrameCount(LineMonitor)   ((LineMonitor>>12)&0x0f)
#define FilterBits(LineMonitor)   ((LineMonitor>>8)&0x0f)
#define Peak(LineMonitor)   ((LineMonitor>>6)&1)
#define DTMFValid(LineMonitor)   ((LineMonitor>>5)&1)
#define CPFValid(LineMonitor)   ((LineMonitor>>4)&1)
#define DTMFDigit(LineMonitor)   (LineMonitor&0x0f)
#define IDLE_TONE_MODE_SYNC   0
#define IDLE_TONE_MODE_ASYNC   1
#define IDLE_TONE_NOTONE   0
#define IDLE_TONE_1   1
#define IDLE_TONE_2   2
#define IDLE_TONE_3   3
#define IDLE_TONE_4   4
#define IDLE_TONE_5   5
#define IDLE_TONE_6   6
#define IDLE_TONE_7   7
#define IDLE_TONE_8   8
#define IDLE_TONE_9   9
#define IDLE_TONE_STAR   10
#define IDLE_TONE_0   11
#define IDLE_TONE_POUND   12
#define IDLE_TONE_DIAL   25
#define IDLE_TONE_RING   26
#define IDLE_TONE_BUSY   27
#define IDLE_TONE_A   28
#define IDLE_TONE_B   29
#define IDLE_TONE_C   30
#define IDLE_TONE_D   31
#define TONE_DIAL   0
#define TONE_REORDER   1
#define TONE_BUSY   2
#define TONE_AUDIBLE_RING   3
#define TONE_RECALL_DIAL   4
#define TONE_SPECIAL_AR   5
#define TONE_INTERCEPT   6
#define TONE_CALL_WAITING   7
#define TONE_BUSY_VERIFICATION   8
#define TONE_EXECUTIVE_OVERRIDE   9
#define TONE_CONFIRMATION   10
#define PlaybackMaster   0
#define PlaybackMicrophone   1
#define PlaybackWave   2
#define PlaybackCD   3
#define PlaybackLineIn   4
#define PlaybackPhoneIn   5
#define PlaybackPhoneOut   6
#define PlaybackPhoneLineOut   7
#define PlaybackDeviceCount   8
#define RecordMaster   0
#define RecordMicrophone   1
#define RecordWave   2
#define RecordCD   3
#define RecordLineIn   4
#define RecordPhoneIn   5
#define RecordPhoneLineIn   6
#define RecordDeviceCount   7
#define OutputMicrophone   PlaybackMicrophone
#define OutputWave   PlaybackWave
#define OutputCD   PlaybackCD
#define OutputLineIn   PlaybackLineIn
#define OutputPhoneIn   PlaybackPhoneIn
#define InputMicrophone   RecordMicrophone
#define InputWave   RecordWave
#define InputCD   RecordCD
#define InputLineIn   RecordLineIn
#define InputPhoneIn   RecordPhoneIn
#define MIXER_ACCESS   TEXT( "MixerAccess" )
#define PLAYBACK_TFRMODE_80X5   0
#define PLAYBACK_TFRMODE_8020   3
#define PLAYBACK_SYNC_MODE_CODEC   0
#define PLAYBACK_SYNC_MODE_DATA   1
#define PLAYBACK_SYNC_MODE_POLL   2
#define PLAYBACK_SYNC_MODE_HOST   3
#define PLAYBACK_MODE_COMPRESSED   0
#define PLAYBACK_MODE_TRUESPEECH_V40   0
#define PLAYBACK_MODE_TRUESPEECH   8
#define PLAYBACK_MODE_ULAW   2
#define PLAYBACK_MODE_ALAW   10
#define PLAYBACK_MODE_16LINEAR   6
#define PLAYBACK_MODE_8LINEAR   4
#define PLAYBACK_MODE_8LINEAR_WSS   5
#define PLAYBACK_RATE_TS85   0
#define PLAYBACK_RATE_TS63   1
#define PLAYBACK_RATE_TS53   2
#define PLAYBACK_RATE_TS48   3
#define PLAYBACK_RATE_TS41   4
#define PLAYBACK_RATE_G722   7
#define PLAYBACK_RATE_G723_63   PLAYBACK_RATE_TS63
#define PLAYBACK_RATE_G723_53   PLAYBACK_RATE_TS53
#define PLAYBACK_RATE_G728   5
#define PLAYBACK_RATE_G729   6
#define PLAYBACK_TS85_WORDS   16
#define PLAYBACK_TS63_WORDS   12
#define PLAYBACK_TS53_WORDS   10
#define PLAYBACK_TS48_WORDS   9
#define PLAYBACK_TS41_WORDS   8
#define PLAYBACK_ALAW_WORDS   120
#define PLAYBACK_ALAW_30MS_WORDS   120
#define PLAYBACK_ALAW_20MS_WORDS   80
#define PLAYBACK_ALAW_10MS_WORDS   40
#define PLAYBACK_ULAW_WORDS   120
#define PLAYBACK_ULAW_30MS_WORDS   120
#define PLAYBACK_ULAW_20MS_WORDS   80
#define PLAYBACK_ULAW_10MS_WORDS   40
#define PLAYBACK_16LINEAR_WORDS   240
#define PLAYBACK_16LINEAR_30MS_WORDS   240
#define PLAYBACK_16LINEAR_20MS_WORDS   160
#define PLAYBACK_16LINEAR_10MS_WORDS   80
#define PLAYBACK_8LINEAR_WORDS   120
#define PLAYBACK_8LINEAR_30MS_WORDS   120
#define PLAYBACK_8LINEAR_20MS_WORDS   80
#define PLAYBACK_8LINEAR_10MS_WORDS   40
#define PLAYBACK_8LINEAR_WSS_WORDS   120
#define PLAYBACK_8LINEAR_WSS_30MS_WORDS   120
#define PLAYBACK_8LINEAR_WSS_20MS_WORDS   80
#define PLAYBACK_8LINEAR_WSS_10MS_WORDS   40
#define PLAYBACK_G722_WORDS   40
#define PLAYBACK_G723_63_WORDS   PLAYBACK_TS63_WORDS
#define PLAYBACK_G723_53_WORDS   PLAYBACK_TS53_WORDS
#define PLAYBACK_G728_10MS_WORDS   16
#define PLAYBACK_G728_20MS_WORDS   32
#define PLAYBACK_G728_30MS_WORDS   48
#define PLAYBACK_G729_10MS_WORDS   6
#define PLAYBACK_G729_20MS_WORDS   12
#define PLAYBACK_G729_30MS_WORDS   18
#define PLAYBACK_FRAME_TS85   (PLAYBACK_TS85_WORDS*2)
#define PLAYBACK_FRAME_TS63   (PLAYBACK_TS63_WORDS*2)
#define PLAYBACK_FRAME_TS53   (PLAYBACK_TS53_WORDS*2)
#define PLAYBACK_FRAME_TS48   (PLAYBACK_TS48_WORDS*2)
#define PLAYBACK_FRAME_TS41   (PLAYBACK_TS41_WORDS*2)
#define PLAYBACK_FRAME_ALAW   (PLAYBACK_ALAW_WORDS*2)
#define PLAYBACK_FRAME_ALAW_30MS   (PLAYBACK_ALAW_30MS_WORDS*2)
#define PLAYBACK_FRAME_ALAW_20MS   (PLAYBACK_ALAW_20MS_WORDS*2)
#define PLAYBACK_FRAME_ALAW_10MS   (PLAYBACK_ALAW_10MS_WORDS*2)
#define PLAYBACK_FRAME_ULAW   (PLAYBACK_ULAW_WORDS*2)
#define PLAYBACK_FRAME_ULAW_30MS   (PLAYBACK_ULAW_30MS_WORDS*2)
#define PLAYBACK_FRAME_ULAW_20MS   (PLAYBACK_ULAW_20MS_WORDS*2)
#define PLAYBACK_FRAME_ULAW_10MS   (PLAYBACK_ULAW_10MS_WORDS*2)
#define PLAYBACK_FRAME_16LINEAR   (PLAYBACK_16LINEAR_WORDS*2)
#define PLAYBACK_FRAME_16LINEAR_30MS   (PLAYBACK_16LINEAR_30MS_WORDS*2)
#define PLAYBACK_FRAME_16LINEAR_20MS   (PLAYBACK_16LINEAR_20MS_WORDS*2)
#define PLAYBACK_FRAME_16LINEAR_10MS   (PLAYBACK_16LINEAR_10MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR   (PLAYBACK_8LINEAR_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_30MS   (PLAYBACK_8LINEAR_30MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_20MS   (PLAYBACK_8LINEAR_20MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_10MS   (PLAYBACK_8LINEAR_10MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_WSS   (PLAYBACK_8LINEAR_WSS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_WSS_30MS   (PLAYBACK_8LINEAR_WSS_30MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_WSS_20MS   (PLAYBACK_8LINEAR_WSS_20MS_WORDS*2)
#define PLAYBACK_FRAME_8LINEAR_WSS_10MS   (PLAYBACK_8LINEAR_WSS_10MS_WORDS*2)
#define PLAYBACK_FRAME_G722   (PLAYBACK_G722_WORDS*2)
#define PLAYBACK_FRAME_G723_63   (PLAYBACK_G723_63_WORDS*2)
#define PLAYBACK_FRAME_G723_53   (PLAYBACK_G723_53_WORDS*2)
#define PLAYBACK_FRAME_G728_10MS   (PLAYBACK_G728_10MS_WORDS*2)
#define PLAYBACK_FRAME_G728_20MS   (PLAYBACK_G728_20MS_WORDS*2)
#define PLAYBACK_FRAME_G728_30MS   (PLAYBACK_G728_30MS_WORDS*2)
#define PLAYBACK_FRAME_G729_10MS   (PLAYBACK_G729_10MS_WORDS*2)
#define PLAYBACK_FRAME_G729_20MS   (PLAYBACK_G729_20MS_WORDS*2)
#define PLAYBACK_FRAME_G729_30MS   (PLAYBACK_G729_30MS_WORDS*2)
#define PLAYBACK_MAX_BUFFER_WORDS   PLAYBACK_16LINEAR_WORDS
#define PLAYBACK_MAX_BUFFER_SIZE   PLAYBACK_FRAME_16LINEAR
#define PLAYBACK_TS85_AVG_RATE   1067
#define PLAYBACK_TS63_AVG_RATE   800
#define PLAYBACK_TS53_AVG_RATE   667
#define PLAYBACK_TS48_AVG_RATE   600
#define PLAYBACK_TS41_AVG_RATE   533
#define RECORD_TFRMODE_80X5   0
#define RECORD_TFRMODE_8020   3
#define RECORD_SYNC_MODE_CODEC   0
#define RECORD_SYNC_MODE_DATA   1
#define RECORD_SYNC_MODE_POLL   2
#define RECORD_SYNC_MODE_HOST   3
#define RECORD_AGC_MIN_GAIN   0
#define RECORD_AGC_MAX_GAIN   1
#define RECORD_AGC_START_GAIN   2
#define RECORD_AGC_HOLD_TIME   3
#define RECORD_AGC_ATTACK_TIME   4
#define RECORD_AGC_DECAY_TIME   5
#define RECORD_AGC_ATTACK_THRES   6
#define RECORD_AGC_ON_OFF   7
#define RECORD_AGC_250_us   0
#define RECORD_AGC_512_us   1
#define RECORD_AGC_1_ms   2
#define RECORD_AGC_2_ms   3
#define RECORD_AGC_4_ms   4
#define RECORD_AGC_8_ms   5
#define RECORD_AGC_16_ms   6
#define RECORD_AGC_32_ms   7
#define RECORD_AGC_64_ms   8
#define RECORD_AGC_128_ms   9
#define RECORD_AGC_256_ms   10
#define RECORD_AGC_512_ms   11
#define RECORD_AGC_1024_ms   12
#define RECORD_AGC_2048_ms   13
#define RECORD_AGC_4096_ms   14
#define RECORD_AGC_8192_ms   15
#define RECORD_MODE_COMPRESSED   0
#define RECORD_MODE_TRUESPEECH   0
#define RECORD_MODE_ULAW   4
#define RECORD_MODE_ALAW   12
#define RECORD_MODE_16LINEAR   5
#define RECORD_MODE_8LINEAR   6
#define RECORD_MODE_8LINEAR_WSS   7
#define RECORD_RATE_TS85   0
#define RECORD_RATE_TS63   1
#define RECORD_RATE_TS53   2
#define RECORD_RATE_TS48   3
#define RECORD_RATE_TS41   4
#define RECORD_RATE_G722   7
#define RECORD_RATE_G723_63   RECORD_RATE_TS63
#define RECORD_RATE_G723_53   RECORD_RATE_TS53
#define RECORD_RATE_G728   5
#define RECORD_RATE_G729   6
#define RECORD_TS85_WORDS   16
#define RECORD_TS63_WORDS   12
#define RECORD_TS53_WORDS   10
#define RECORD_TS48_WORDS   9
#define RECORD_TS41_WORDS   8
#define RECORD_ALAW_WORDS   120
#define RECORD_ALAW_30MS_WORDS   120
#define RECORD_ALAW_20MS_WORDS   80
#define RECORD_ALAW_10MS_WORDS   40
#define RECORD_ULAW_WORDS   120
#define RECORD_ULAW_30MS_WORDS   120
#define RECORD_ULAW_20MS_WORDS   80
#define RECORD_ULAW_10MS_WORDS   40
#define RECORD_16LINEAR_WORDS   240
#define RECORD_16LINEAR_30MS_WORDS   240
#define RECORD_16LINEAR_20MS_WORDS   160
#define RECORD_16LINEAR_10MS_WORDS   80
#define RECORD_8LINEAR_WORDS   120
#define RECORD_8LINEAR_30MS_WORDS   120
#define RECORD_8LINEAR_20MS_WORDS   80
#define RECORD_8LINEAR_10MS_WORDS   40
#define RECORD_8LINEAR_WSS_WORDS   120
#define RECORD_8LINEAR_WSS_30MS_WORDS   120
#define RECORD_8LINEAR_WSS_20MS_WORDS   80
#define RECORD_8LINEAR_WSS_10MS_WORDS   40
#define RECORD_G722_WORDS   40
#define RECORD_G723_63_WORDS   RECORD_TS63_WORDS
#define RECORD_G723_53_WORDS   RECORD_TS53_WORDS
#define RECORD_G728_10MS_WORDS   16
#define RECORD_G728_20MS_WORDS   32
#define RECORD_G728_30MS_WORDS   48
#define RECORD_G729_10MS_WORDS   6
#define RECORD_G729_20MS_WORDS   12
#define RECORD_G729_30MS_WORDS   18
#define RECORD_FRAME_TS85   (RECORD_TS85_WORDS*2)
#define RECORD_FRAME_TS63   (RECORD_TS63_WORDS*2)
#define RECORD_FRAME_TS53   (RECORD_TS53_WORDS*2)
#define RECORD_FRAME_TS48   (RECORD_TS48_WORDS*2)
#define RECORD_FRAME_TS41   (RECORD_TS41_WORDS*2)
#define RECORD_FRAME_ALAW   (RECORD_ALAW_WORDS*2)
#define RECORD_FRAME_ALAW_30MS   (RECORD_ALAW_30MS_WORDS*2)
#define RECORD_FRAME_ALAW_20MS   (RECORD_ALAW_20MS_WORDS*2)
#define RECORD_FRAME_ALAW_10MS   (RECORD_ALAW_10MS_WORDS*2)
#define RECORD_FRAME_ULAW   (RECORD_ULAW_WORDS*2)
#define RECORD_FRAME_ULAW_30MS   (RECORD_ULAW_30MS_WORDS*2)
#define RECORD_FRAME_ULAW_20MS   (RECORD_ULAW_20MS_WORDS*2)
#define RECORD_FRAME_ULAW_10MS   (RECORD_ULAW_10MS_WORDS*2)
#define RECORD_FRAME_16LINEAR   (RECORD_16LINEAR_WORDS*2)
#define RECORD_FRAME_16LINEAR_30MS   (RECORD_16LINEAR_30MS_WORDS*2)
#define RECORD_FRAME_16LINEAR_20MS   (RECORD_16LINEAR_20MS_WORDS*2)
#define RECORD_FRAME_16LINEAR_10MS   (RECORD_16LINEAR_10MS_WORDS*2)
#define RECORD_FRAME_8LINEAR   (RECORD_8LINEAR_WORDS*2)
#define RECORD_FRAME_8LINEAR_30MS   (RECORD_8LINEAR_30MS_WORDS*2)
#define RECORD_FRAME_8LINEAR_20MS   (RECORD_8LINEAR_20MS_WORDS*2)
#define RECORD_FRAME_8LINEAR_10MS   (RECORD_8LINEAR_10MS_WORDS*2)
#define RECORD_FRAME_8LINEAR_WSS   (RECORD_8LINEAR_WSS_WORDS*2)
#define RECORD_FRAME_8LINEAR_WSS_30MS   (RECORD_8LINEAR_WSS_30MS_WORDS*2)
#define RECORD_FRAME_8LINEAR_WSS_20MS   (RECORD_8LINEAR_WSS_20MS_WORDS*2)
#define RECORD_FRAME_8LINEAR_WSS_10MS   (RECORD_8LINEAR_WSS_10MS_WORDS*2)
#define RECORD_FRAME_G722   (RECORD_G722_WORDS*2)
#define RECORD_FRAME_G723_63   (RECORD_G723_63_WORDS*2)
#define RECORD_FRAME_G723_53   (RECORD_G723_53_WORDS*2)
#define RECORD_FRAME_G728_10MS   (RECORD_G728_10MS_WORDS*2)
#define RECORD_FRAME_G728_20MS   (RECORD_G728_20MS_WORDS*2)
#define RECORD_FRAME_G728_30MS   (RECORD_G728_30MS_WORDS*2)
#define RECORD_FRAME_G729_10MS   (RECORD_G729_10MS_WORDS*2)
#define RECORD_FRAME_G729_20MS   (RECORD_G729_20MS_WORDS*2)
#define RECORD_FRAME_G729_30MS   (RECORD_G729_30MS_WORDS*2)
#define RECORD_MAX_BUFFER_WORDS   RECORD_16LINEAR_WORDS
#define RECORD_MAX_BUFFER_SIZE   RECORD_FRAME_16LINEAR
#define RECORD_TS85_AVG_RATE   1067
#define RECORD_TS63_AVG_RATE   800
#define RECORD_TS53_AVG_RATE   667
#define RECORD_TS48_AVG_RATE   600
#define RECORD_TS41_AVG_RATE   533
#define SPKRPHONE_LINE_VOLUME_POS_8DB   0
#define SPKRPHONE_LINE_VOLUME_POS_4DB   1
#define SPKRPHONE_LINE_VOLUME_POS_0DB   2
#define SPKRPHONE_LINE_VOLUME_MUTE   3
#define SPKRPHONE_SPEAKER_VOLUME_POS_14DB   0
#define SPKRPHONE_SPEAKER_VOLUME_POS_12DB   1
#define SPKRPHONE_SPEAKER_VOLUME_POS_10DB   2
#define SPKRPHONE_SPEAKER_VOLUME_POS_8DB   3
#define SPKRPHONE_SPEAKER_VOLUME_POS_6DB   4
#define SPKRPHONE_SPEAKER_VOLUME_POS_4DB   5
#define SPKRPHONE_SPEAKER_VOLUME_POS_2DB   6
#define SPKRPHONE_SPEAKER_VOLUME_POS_0DB   7
#define SPKRPHONE_SPEAKER_VOLUME_NEG_2DB   8
#define SPKRPHONE_SPEAKER_VOLUME_NEG_4DB   9
#define SPKRPHONE_SPEAKER_VOLUME_NEG_6DB   10
#define SPKRPHONE_SPEAKER_VOLUME_NEG_8DB   11
#define SPKRPHONE_SPEAKER_VOLUME_NEG_10DB   12
#define SPKRPHONE_SPEAKER_VOLUME_NEG_12DB   13
#define SPKRPHONE_SPEAKER_VOLUME_NEG_14DB   14
#define SPKRPHONE_SPEAKER_VOLUME_MUTE   15
#define SPKRPHONE_AEC_ON   1
#define SPKRPHONE_AEC_LO   2
#define SPKRPHONE_AEC_HI   4
#define EVENT_TYPE_INT_DTMF   0x0002
#define EVENT_TYPE_INT_TX_READY   0x0004
#define EVENT_TYPE_INT_RX_READY   0x0008
#define EVENT_TYPE_INT_HOOK   0x0010
#define EVENT_TYPE_INT_RING   0x0020
#define EVENT_TYPE_INT_WRITE_DONE   0x0040
#define EVENT_TYPE_INT_PLAYBACK_VOLUME_CHANGE   0x0080
#define EVENT_TYPE_INT_RECORD_VOLUME_CHANGE   0x0100
#define EVENT_TYPE_INT_ANALOG_SOURCE_CHANGE   0x0200
#define EVENT_TYPE_INT_AEC_CHANGE   0x0400
#define EVENT_TYPE_INT_PLAYBACK_MUTE_CHANGE   0x0800
#define EVENT_TYPE_INT_RECORD_MUTE_CHANGE   0x1000
#define EVENT_TYPE_INT_MIXER_CHANGE   0x2000
#define IPJ_VXDNAME   "QTIPJ "
#define IXJ_DRV_NAME   TEXT("qtxjack.drv")
#define IXJ_INST_NAME   TEXT("Internet PhoneJACK/Internet LineJACK")
#define PSTF_FUNCPTR   0x00000001
#define PSTF_COUNT   0x00000000
#define PSTF_RATE   0x00000002

Typedefs

typedef _MIXER_LINE MIXER_LINE
typedef struct PERF_STATLPPERF_STAT
typedef ipj_vxd_devio IPJ_VXD_DEVIO

Variables

const WORD CODEC_WIDTH_8BIT = 0
const WORD CODEC_WIDTH_16BIT = 1
const WORD CODEC_LAW_MULAW = 0
const WORD CODEC_MASTER_SLAVE = 0
const WORD CODEC_MASTER_MASTER = 1
const WORD CODEC_LONG_SHORTFRAME = 0
const WORD CODEC_LONG_LONGFRAME = 1
const WORD CODEC_OUTPUT_CODEC_DEFAULT = 0
const WORD CODEC_OUTPUT_CODEC_CODEC1 = 1
const WORD CODEC_OUTPUT_CODEC_CODEC0 = 2
const WORD CODEC_OUTPUT_CODEC_BOTH = 3
const WORD CODEC_INPUT_CODEC_NORMAL = 0
const WORD CODEC_INPUT_CODEC_EXCHANGE = 1
const WORD CODEC_SET_RATE_NOACTION = 0
const WORD CODEC_SET_RATE_NEXTCMD = 1
const WORD CODEC_WIDE_1SCLK = 0
const WORD CODEC_WIDE_8OR16SCLKS = 1
const DWORD XTAL_38912 = 3891200
const DWORD XTAL_4000 = 4000000
const DWORD XTAL_4096 = 4096000
const DWORD SCLK_2048 = 2048000
const DWORD SCLK_512 = 512000
const DWORD SCLK_1024 = 1024000
const DWORD SCLK_2000 = 2000000
const DWORD SCLK_MAX = 1835008
const WORD COMPRESS_TFRMODE_80X5 = 0
const WORD COMPRESS_TFRMODE_8020 = 3
const WORD COMPRESS_SYNC_MODE_CODEC = 0
const WORD COMPRESS_SYNC_MODE_DATA = 1
const WORD COMPRESS_SYNC_MODE_POLL = 2
const WORD COMPRESS_SYNC_MODE_HOST = 3


Define Documentation

#define ANALOG_SOURCE_HANDSETPHONE   (0x2)

#define ANALOG_SOURCE_POTSPHONE   (0x0)

#define ANALOG_SOURCE_PSTNLINE   (0x2)

#define ANALOG_SOURCE_SPEAKERPHONE   (0x1)

#define CODEC_CO_RATE_13   13

#define CODEC_CO_RATE_18   18

#define CODEC_CO_RATE_19   19

#define CODEC_CO_RATE_9   9

#define CODEC_FSYNC_RATE_125   125

#define CODEC_FSYNC_RATE_127   127

#define CODEC_FSYNC_RATE_175   175

#define CODEC_FSYNC_RATE_185   185

#define CODEC_FSYNC_RATE_251   251

#define CODEC_FSYNC_RATE_255   255

#define CODEC_FSYNC_RATE_278   278

#define CODEC_FSYNC_RATE_340   340

#define CODEC_FSYNC_RATE_371   371

#define CODEC_FSYNC_RATE_42   42

#define CODEC_FSYNC_RATE_45   45

#define CODEC_FSYNC_RATE_61   61

#define CODEC_FSYNC_RATE_63   63

#define CODEC_FSYNC_RATE_92   92

#define CODEC_RATE_11025Hz   11025

#define CODEC_RATE_16000Hz   16000

#define CODEC_RATE_22050Hz   22050

#define CODEC_RATE_32000Hz   32000

#define CODEC_RATE_33075Hz   33075

#define CODEC_RATE_4000Hz   4000

#define CODEC_RATE_44100Hz   44100

#define CODEC_RATE_48000Hz   48000

#define CODEC_RATE_5500Hz   5500

#define CODEC_RATE_6000Hz   6000

#define CODEC_RATE_7333Hz   7333

#define CODEC_RATE_8000Hz   8000

#define COEFF_AUSTRALIA   4

#define COEFF_CTR21   6

#define COEFF_CZECH   7

#define COEFF_FRANCE   2

#define COEFF_GERMANY   3

#define COEFF_GERMANY2   8

#define COEFF_ITALY   9

#define COEFF_JAPAN   5

#define COEFF_NEW_ZEALAND   11

#define COEFF_NORWAY   12

#define COEFF_PHILIPPINES   13

#define COEFF_POLAND   14

#define COEFF_SOUTH_AFRICA   15

#define COEFF_SOUTH_KOREA   10

#define COEFF_SWEDEN   16

#define COEFF_UK   1

#define COEFF_US   0

#define COMPRESS_FRAME_16LINEAR   240

#define COMPRESS_FRAME_8LINEAR   120

#define COMPRESS_FRAME_8LINEAR_WSS   120

#define COMPRESS_FRAME_G7231_TS53   COMPRESS_FRAME_TS53

#define COMPRESS_FRAME_G7231_TS63   COMPRESS_FRAME_TS63

#define COMPRESS_FRAME_TRUESPEECH   0

#define COMPRESS_FRAME_TS41   8

#define COMPRESS_FRAME_TS48   9

#define COMPRESS_FRAME_TS53   10

#define COMPRESS_FRAME_TS63   12

#define COMPRESS_FRAME_TS85   16

#define COMPRESS_FRAME_ULAW   120

#define COMPRESS_MAX_BUFFER_SIZE   COMPRESS_FRAME_16LINEAR

#define COMPRESS_MODE_16LINEAR   6

#define COMPRESS_MODE_8LINEAR   4

#define COMPRESS_MODE_8LINEAR_WSS   5

#define COMPRESS_MODE_TRUESPEECH   0

#define COMPRESS_MODE_ULAW   2

#define COMPRESS_RATE_G7231_TS53   2

#define COMPRESS_RATE_G7231_TS63   1

#define COMPRESS_RATE_TS41   4

#define COMPRESS_RATE_TS48   3

#define COMPRESS_RATE_TS53   2

#define COMPRESS_RATE_TS63   1

#define COMPRESS_RATE_TS85   0

#define CPFValid ( LineMonitor   )     ((LineMonitor>>4)&1)

#define DEVCTRL_HOOKSTATE_INIT   0

#define DEVCTRL_HOOKSTATE_OFF_HOOK_1   4

#define DEVCTRL_HOOKSTATE_OFF_HOOK_2   5

#define DEVCTRL_HOOKSTATE_OFF_HOOK_3   6

#define DEVCTRL_HOOKSTATE_ON_HOOK_1   1

#define DEVCTRL_HOOKSTATE_ON_HOOK_2   2

#define DEVCTRL_HOOKSTATE_ON_HOOK_3   3

#define DEVCTRL_RINGSTATE_INIT   0

#define DEVCTRL_RINGSTATE_RING_0   1

#define DEVCTRL_RINGSTATE_RING_1   2

#define DEVCTRL_RINGSTATE_RING_10   11

#define DEVCTRL_RINGSTATE_RING_11   12

#define DEVCTRL_RINGSTATE_RING_2   3

#define DEVCTRL_RINGSTATE_RING_3   4

#define DEVCTRL_RINGSTATE_RING_4   5

#define DEVCTRL_RINGSTATE_RING_5   6

#define DEVCTRL_RINGSTATE_RING_6   7

#define DEVCTRL_RINGSTATE_RING_7   8

#define DEVCTRL_RINGSTATE_RING_8   9

#define DEVCTRL_RINGSTATE_RING_9   10

#define DEVICE_HANDSET   0x04

#define DEVICE_POTS   0x02

#define DEVICE_PSTN   0x08

#define DEVICE_SPEAKERPHONE   0x01

#define DTMFDigit ( LineMonitor   )     (LineMonitor&0x0f)

#define DTMFValid ( LineMonitor   )     ((LineMonitor>>5)&1)

#define EVENT_TYPE_INT_AEC_CHANGE   0x0400

#define EVENT_TYPE_INT_ANALOG_SOURCE_CHANGE   0x0200

#define EVENT_TYPE_INT_DTMF   0x0002

#define EVENT_TYPE_INT_HOOK   0x0010

#define EVENT_TYPE_INT_MIXER_CHANGE   0x2000

#define EVENT_TYPE_INT_PLAYBACK_MUTE_CHANGE   0x0800

#define EVENT_TYPE_INT_PLAYBACK_VOLUME_CHANGE   0x0080

#define EVENT_TYPE_INT_RECORD_MUTE_CHANGE   0x1000

#define EVENT_TYPE_INT_RECORD_VOLUME_CHANGE   0x0100

#define EVENT_TYPE_INT_RING   0x0020

#define EVENT_TYPE_INT_RX_READY   0x0008

#define EVENT_TYPE_INT_TX_READY   0x0004

#define EVENT_TYPE_INT_WRITE_DONE   0x0040

#define FILTER_DTMFSTATE_INIT   0

#define FILTER_DTMFSTATE_NOT_VALID_1   1

#define FILTER_DTMFSTATE_NOT_VALID_2   2

#define FILTER_DTMFSTATE_NOT_VALID_3   3

#define FILTER_DTMFSTATE_VALID_1   4

#define FILTER_DTMFSTATE_VALID_2   5

#define FILTER_DTMFSTATE_VALID_3   6

#define FILTER_LINE_VOLUME_MUTE   3

#define FILTER_LINE_VOLUME_POS_0DB   2

#define FILTER_MODE_ASYNC   1

#define FILTER_MODE_SYNC   0

#define FILTER_SPEAKER_VOLUME_MUTE   15

#define FILTER_SPEAKER_VOLUME_NEG_10DB   12

#define FILTER_SPEAKER_VOLUME_NEG_12DB   13

#define FILTER_SPEAKER_VOLUME_NEG_14DB   14

#define FILTER_SPEAKER_VOLUME_NEG_2DB   8

#define FILTER_SPEAKER_VOLUME_NEG_4DB   9

#define FILTER_SPEAKER_VOLUME_NEG_6DB   10

#define FILTER_SPEAKER_VOLUME_NEG_8DB   11

#define FILTER_SPEAKER_VOLUME_POS_0DB   7

#define FILTER_SPEAKER_VOLUME_POS_10DB   2

#define FILTER_SPEAKER_VOLUME_POS_12DB   1

#define FILTER_SPEAKER_VOLUME_POS_14DB   0

#define FILTER_SPEAKER_VOLUME_POS_2DB   6

#define FILTER_SPEAKER_VOLUME_POS_4DB   5

#define FILTER_SPEAKER_VOLUME_POS_6DB   4

#define FILTER_SPEAKER_VOLUME_POS_8DB   3

#define FilterBits ( LineMonitor   )     ((LineMonitor>>8)&0x0f)

#define FrameCount ( LineMonitor   )     ((LineMonitor>>12)&0x0f)

#define IDLE_TONE_0   11

#define IDLE_TONE_1   1

#define IDLE_TONE_2   2

#define IDLE_TONE_3   3

#define IDLE_TONE_4   4

#define IDLE_TONE_5   5

#define IDLE_TONE_6   6

#define IDLE_TONE_7   7

#define IDLE_TONE_8   8

#define IDLE_TONE_9   9

#define IDLE_TONE_A   28

#define IDLE_TONE_B   29

#define IDLE_TONE_BUSY   27

#define IDLE_TONE_C   30

#define IDLE_TONE_D   31

#define IDLE_TONE_DIAL   25

#define IDLE_TONE_MODE_ASYNC   1

#define IDLE_TONE_MODE_SYNC   0

#define IDLE_TONE_NOTONE   0

#define IDLE_TONE_POUND   12

#define IDLE_TONE_RING   26

#define IDLE_TONE_STAR   10

#define InputCD   RecordCD

#define InputLineIn   RecordLineIn

#define InputMicrophone   RecordMicrophone

#define InputPhoneIn   RecordPhoneIn

#define InputWave   RecordWave

#define IPJ_VXDNAME   "QTIPJ "

#define IXJ_DRV_NAME   TEXT("qtxjack.drv")

#define IXJ_INST_NAME   TEXT("Internet PhoneJACK/Internet LineJACK")

#define LINE_TEST_LINE_CONNECTED_TO_POTS   3

#define LINE_TEST_NO_LINE_PRESENT   4

#define LINE_TEST_OK   0

#define LINE_TEST_POTS_OFF_HOOK   2

#define LINE_TEST_TESTING   1

#define LINEJACK_MODE_LINEJACK   (0x1)

#define LINEJACK_MODE_PHONEJACK   (0x0)

#define LINEJACK_MODE_STANDALONE   (0x2)

#define MIXER_ACCESS   TEXT( "MixerAccess" )

#define MODEL_INTERNET_BLACKJACK   0x0200

#define MODEL_INTERNET_LINEJACK   0x0300

#define MODEL_INTERNET_PHONECARD   0x0600

#define MODEL_INTERNET_PHONEJACK   0x0100

#define MODEL_INTERNET_PHONEJACK_LITE   0x0400

#define MODEL_INTERNET_PHONEJACK_PCI   0x0500

#define MODEL_INTERNET_PHONEJACK_TJPCI   0x0501

#define OLD_CODEC_RATE_11025Hz   1050

#define OLD_CODEC_RATE_16000Hz   1060

#define OLD_CODEC_RATE_22050Hz   1070

#define OLD_CODEC_RATE_32000Hz   1080

#define OLD_CODEC_RATE_33075Hz   1090

#define OLD_CODEC_RATE_4000Hz   1000

#define OLD_CODEC_RATE_44100Hz   1100

#define OLD_CODEC_RATE_48000Hz   1110

#define OLD_CODEC_RATE_5500Hz   1010

#define OLD_CODEC_RATE_6000Hz   1020

#define OLD_CODEC_RATE_7333Hz   1030

#define OLD_CODEC_RATE_8000Hz   1040

#define OutputCD   PlaybackCD

#define OutputLineIn   PlaybackLineIn

#define OutputMicrophone   PlaybackMicrophone

#define OutputPhoneIn   PlaybackPhoneIn

#define OutputWave   PlaybackWave

#define Peak ( LineMonitor   )     ((LineMonitor>>6)&1)

#define PLAYBACK_16LINEAR_10MS_WORDS   80

#define PLAYBACK_16LINEAR_20MS_WORDS   160

#define PLAYBACK_16LINEAR_30MS_WORDS   240

#define PLAYBACK_16LINEAR_WORDS   240

#define PLAYBACK_8LINEAR_10MS_WORDS   40

#define PLAYBACK_8LINEAR_20MS_WORDS   80

#define PLAYBACK_8LINEAR_30MS_WORDS   120

#define PLAYBACK_8LINEAR_WORDS   120

#define PLAYBACK_8LINEAR_WSS_10MS_WORDS   40

#define PLAYBACK_8LINEAR_WSS_20MS_WORDS   80

#define PLAYBACK_8LINEAR_WSS_30MS_WORDS   120

#define PLAYBACK_8LINEAR_WSS_WORDS   120

#define PLAYBACK_ALAW_10MS_WORDS   40

#define PLAYBACK_ALAW_20MS_WORDS   80

#define PLAYBACK_ALAW_30MS_WORDS   120

#define PLAYBACK_ALAW_WORDS   120

#define PLAYBACK_FRAME_16LINEAR   (PLAYBACK_16LINEAR_WORDS*2)

#define PLAYBACK_FRAME_16LINEAR_10MS   (PLAYBACK_16LINEAR_10MS_WORDS*2)

#define PLAYBACK_FRAME_16LINEAR_20MS   (PLAYBACK_16LINEAR_20MS_WORDS*2)

#define PLAYBACK_FRAME_16LINEAR_30MS   (PLAYBACK_16LINEAR_30MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR   (PLAYBACK_8LINEAR_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_10MS   (PLAYBACK_8LINEAR_10MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_20MS   (PLAYBACK_8LINEAR_20MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_30MS   (PLAYBACK_8LINEAR_30MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_WSS   (PLAYBACK_8LINEAR_WSS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_WSS_10MS   (PLAYBACK_8LINEAR_WSS_10MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_WSS_20MS   (PLAYBACK_8LINEAR_WSS_20MS_WORDS*2)

#define PLAYBACK_FRAME_8LINEAR_WSS_30MS   (PLAYBACK_8LINEAR_WSS_30MS_WORDS*2)

#define PLAYBACK_FRAME_ALAW   (PLAYBACK_ALAW_WORDS*2)

#define PLAYBACK_FRAME_ALAW_10MS   (PLAYBACK_ALAW_10MS_WORDS*2)

#define PLAYBACK_FRAME_ALAW_20MS   (PLAYBACK_ALAW_20MS_WORDS*2)

#define PLAYBACK_FRAME_ALAW_30MS   (PLAYBACK_ALAW_30MS_WORDS*2)

#define PLAYBACK_FRAME_G722   (PLAYBACK_G722_WORDS*2)

#define PLAYBACK_FRAME_G723_53   (PLAYBACK_G723_53_WORDS*2)

#define PLAYBACK_FRAME_G723_63   (PLAYBACK_G723_63_WORDS*2)

#define PLAYBACK_FRAME_G728_10MS   (PLAYBACK_G728_10MS_WORDS*2)

#define PLAYBACK_FRAME_G728_20MS   (PLAYBACK_G728_20MS_WORDS*2)

#define PLAYBACK_FRAME_G728_30MS   (PLAYBACK_G728_30MS_WORDS*2)

#define PLAYBACK_FRAME_G729_10MS   (PLAYBACK_G729_10MS_WORDS*2)

#define PLAYBACK_FRAME_G729_20MS   (PLAYBACK_G729_20MS_WORDS*2)

#define PLAYBACK_FRAME_G729_30MS   (PLAYBACK_G729_30MS_WORDS*2)

#define PLAYBACK_FRAME_TS41   (PLAYBACK_TS41_WORDS*2)

#define PLAYBACK_FRAME_TS48   (PLAYBACK_TS48_WORDS*2)

#define PLAYBACK_FRAME_TS53   (PLAYBACK_TS53_WORDS*2)

#define PLAYBACK_FRAME_TS63   (PLAYBACK_TS63_WORDS*2)

#define PLAYBACK_FRAME_TS85   (PLAYBACK_TS85_WORDS*2)

#define PLAYBACK_FRAME_ULAW   (PLAYBACK_ULAW_WORDS*2)

#define PLAYBACK_FRAME_ULAW_10MS   (PLAYBACK_ULAW_10MS_WORDS*2)

#define PLAYBACK_FRAME_ULAW_20MS   (PLAYBACK_ULAW_20MS_WORDS*2)

#define PLAYBACK_FRAME_ULAW_30MS   (PLAYBACK_ULAW_30MS_WORDS*2)

#define PLAYBACK_G722_WORDS   40

#define PLAYBACK_G723_53_WORDS   PLAYBACK_TS53_WORDS

#define PLAYBACK_G723_63_WORDS   PLAYBACK_TS63_WORDS

#define PLAYBACK_G728_10MS_WORDS   16

#define PLAYBACK_G728_20MS_WORDS   32

#define PLAYBACK_G728_30MS_WORDS   48

#define PLAYBACK_G729_10MS_WORDS   6

#define PLAYBACK_G729_20MS_WORDS   12

#define PLAYBACK_G729_30MS_WORDS   18

#define PLAYBACK_MAX_BUFFER_SIZE   PLAYBACK_FRAME_16LINEAR

#define PLAYBACK_MAX_BUFFER_WORDS   PLAYBACK_16LINEAR_WORDS

#define PLAYBACK_MODE_16LINEAR   6

#define PLAYBACK_MODE_8LINEAR   4

#define PLAYBACK_MODE_8LINEAR_WSS   5

#define PLAYBACK_MODE_ALAW   10

#define PLAYBACK_MODE_COMPRESSED   0

#define PLAYBACK_MODE_TRUESPEECH   8

#define PLAYBACK_MODE_TRUESPEECH_V40   0

#define PLAYBACK_MODE_ULAW   2

#define PLAYBACK_RATE_G722   7

#define PLAYBACK_RATE_G723_53   PLAYBACK_RATE_TS53

#define PLAYBACK_RATE_G723_63   PLAYBACK_RATE_TS63

#define PLAYBACK_RATE_G728   5

#define PLAYBACK_RATE_G729   6

#define PLAYBACK_RATE_TS41   4

#define PLAYBACK_RATE_TS48   3

#define PLAYBACK_RATE_TS53   2

#define PLAYBACK_RATE_TS63   1

#define PLAYBACK_RATE_TS85   0

#define PLAYBACK_SYNC_MODE_CODEC   0

#define PLAYBACK_SYNC_MODE_DATA   1

#define PLAYBACK_SYNC_MODE_HOST   3

#define PLAYBACK_SYNC_MODE_POLL   2

#define PLAYBACK_TFRMODE_8020   3

#define PLAYBACK_TFRMODE_80X5   0

#define PLAYBACK_TS41_AVG_RATE   533

#define PLAYBACK_TS41_WORDS   8

#define PLAYBACK_TS48_AVG_RATE   600

#define PLAYBACK_TS48_WORDS   9

#define PLAYBACK_TS53_AVG_RATE   667

#define PLAYBACK_TS53_WORDS   10

#define PLAYBACK_TS63_AVG_RATE   800

#define PLAYBACK_TS63_WORDS   12

#define PLAYBACK_TS85_AVG_RATE   1067

#define PLAYBACK_TS85_WORDS   16

#define PLAYBACK_ULAW_10MS_WORDS   40

#define PLAYBACK_ULAW_20MS_WORDS   80

#define PLAYBACK_ULAW_30MS_WORDS   120

#define PLAYBACK_ULAW_WORDS   120

#define PlaybackCD   3

#define PlaybackDeviceCount   8

#define PlaybackLineIn   4

#define PlaybackMaster   0

#define PlaybackMicrophone   1

#define PlaybackPhoneIn   5

#define PlaybackPhoneLineOut   7

#define PlaybackPhoneOut   6

#define PlaybackWave   2

#define PSTF_COUNT   0x00000000

#define PSTF_FUNCPTR   0x00000001

#define PSTF_RATE   0x00000002

#define RECORD_16LINEAR_10MS_WORDS   80

#define RECORD_16LINEAR_20MS_WORDS   160

#define RECORD_16LINEAR_30MS_WORDS   240

#define RECORD_16LINEAR_WORDS   240

#define RECORD_8LINEAR_10MS_WORDS   40

#define RECORD_8LINEAR_20MS_WORDS   80

#define RECORD_8LINEAR_30MS_WORDS   120

#define RECORD_8LINEAR_WORDS   120

#define RECORD_8LINEAR_WSS_10MS_WORDS   40

#define RECORD_8LINEAR_WSS_20MS_WORDS   80

#define RECORD_8LINEAR_WSS_30MS_WORDS   120

#define RECORD_8LINEAR_WSS_WORDS   120

#define RECORD_AGC_1024_ms   12

#define RECORD_AGC_128_ms   9

#define RECORD_AGC_16_ms   6

#define RECORD_AGC_1_ms   2

#define RECORD_AGC_2048_ms   13

#define RECORD_AGC_250_us   0

#define RECORD_AGC_256_ms   10

#define RECORD_AGC_2_ms   3

#define RECORD_AGC_32_ms   7

#define RECORD_AGC_4096_ms   14

#define RECORD_AGC_4_ms   4

#define RECORD_AGC_512_ms   11

#define RECORD_AGC_512_us   1

#define RECORD_AGC_64_ms   8

#define RECORD_AGC_8192_ms   15

#define RECORD_AGC_8_ms   5

#define RECORD_AGC_ATTACK_THRES   6

#define RECORD_AGC_ATTACK_TIME   4

#define RECORD_AGC_DECAY_TIME   5

#define RECORD_AGC_HOLD_TIME   3

#define RECORD_AGC_MAX_GAIN   1

#define RECORD_AGC_MIN_GAIN   0

#define RECORD_AGC_ON_OFF   7

#define RECORD_AGC_START_GAIN   2

#define RECORD_ALAW_10MS_WORDS   40

#define RECORD_ALAW_20MS_WORDS   80

#define RECORD_ALAW_30MS_WORDS   120

#define RECORD_ALAW_WORDS   120

#define RECORD_FRAME_16LINEAR   (RECORD_16LINEAR_WORDS*2)

#define RECORD_FRAME_16LINEAR_10MS   (RECORD_16LINEAR_10MS_WORDS*2)

#define RECORD_FRAME_16LINEAR_20MS   (RECORD_16LINEAR_20MS_WORDS*2)

#define RECORD_FRAME_16LINEAR_30MS   (RECORD_16LINEAR_30MS_WORDS*2)

#define RECORD_FRAME_8LINEAR   (RECORD_8LINEAR_WORDS*2)

#define RECORD_FRAME_8LINEAR_10MS   (RECORD_8LINEAR_10MS_WORDS*2)

#define RECORD_FRAME_8LINEAR_20MS   (RECORD_8LINEAR_20MS_WORDS*2)

#define RECORD_FRAME_8LINEAR_30MS   (RECORD_8LINEAR_30MS_WORDS*2)

#define RECORD_FRAME_8LINEAR_WSS   (RECORD_8LINEAR_WSS_WORDS*2)

#define RECORD_FRAME_8LINEAR_WSS_10MS   (RECORD_8LINEAR_WSS_10MS_WORDS*2)

#define RECORD_FRAME_8LINEAR_WSS_20MS   (RECORD_8LINEAR_WSS_20MS_WORDS*2)

#define RECORD_FRAME_8LINEAR_WSS_30MS   (RECORD_8LINEAR_WSS_30MS_WORDS*2)

#define RECORD_FRAME_ALAW   (RECORD_ALAW_WORDS*2)

#define RECORD_FRAME_ALAW_10MS   (RECORD_ALAW_10MS_WORDS*2)

#define RECORD_FRAME_ALAW_20MS   (RECORD_ALAW_20MS_WORDS*2)

#define RECORD_FRAME_ALAW_30MS   (RECORD_ALAW_30MS_WORDS*2)

#define RECORD_FRAME_G722   (RECORD_G722_WORDS*2)

#define RECORD_FRAME_G723_53   (RECORD_G723_53_WORDS*2)

#define RECORD_FRAME_G723_63   (RECORD_G723_63_WORDS*2)

#define RECORD_FRAME_G728_10MS   (RECORD_G728_10MS_WORDS*2)

#define RECORD_FRAME_G728_20MS   (RECORD_G728_20MS_WORDS*2)

#define RECORD_FRAME_G728_30MS   (RECORD_G728_30MS_WORDS*2)

#define RECORD_FRAME_G729_10MS   (RECORD_G729_10MS_WORDS*2)

#define RECORD_FRAME_G729_20MS   (RECORD_G729_20MS_WORDS*2)

#define RECORD_FRAME_G729_30MS   (RECORD_G729_30MS_WORDS*2)

#define RECORD_FRAME_TS41   (RECORD_TS41_WORDS*2)

#define RECORD_FRAME_TS48   (RECORD_TS48_WORDS*2)

#define RECORD_FRAME_TS53   (RECORD_TS53_WORDS*2)

#define RECORD_FRAME_TS63   (RECORD_TS63_WORDS*2)

#define RECORD_FRAME_TS85   (RECORD_TS85_WORDS*2)

#define RECORD_FRAME_ULAW   (RECORD_ULAW_WORDS*2)

#define RECORD_FRAME_ULAW_10MS   (RECORD_ULAW_10MS_WORDS*2)

#define RECORD_FRAME_ULAW_20MS   (RECORD_ULAW_20MS_WORDS*2)

#define RECORD_FRAME_ULAW_30MS   (RECORD_ULAW_30MS_WORDS*2)

#define RECORD_G722_WORDS   40

#define RECORD_G723_53_WORDS   RECORD_TS53_WORDS

#define RECORD_G723_63_WORDS   RECORD_TS63_WORDS

#define RECORD_G728_10MS_WORDS   16

#define RECORD_G728_20MS_WORDS   32

#define RECORD_G728_30MS_WORDS   48

#define RECORD_G729_10MS_WORDS   6

#define RECORD_G729_20MS_WORDS   12

#define RECORD_G729_30MS_WORDS   18

#define RECORD_MAX_BUFFER_SIZE   RECORD_FRAME_16LINEAR

#define RECORD_MAX_BUFFER_WORDS   RECORD_16LINEAR_WORDS

#define RECORD_MODE_16LINEAR   5

#define RECORD_MODE_8LINEAR   6

#define RECORD_MODE_8LINEAR_WSS   7

#define RECORD_MODE_ALAW   12

#define RECORD_MODE_COMPRESSED   0

#define RECORD_MODE_TRUESPEECH   0

#define RECORD_MODE_ULAW   4

#define RECORD_RATE_G722   7

#define RECORD_RATE_G723_53   RECORD_RATE_TS53

#define RECORD_RATE_G723_63   RECORD_RATE_TS63

#define RECORD_RATE_G728   5

#define RECORD_RATE_G729   6

#define RECORD_RATE_TS41   4

#define RECORD_RATE_TS48   3

#define RECORD_RATE_TS53   2

#define RECORD_RATE_TS63   1

#define RECORD_RATE_TS85   0

#define RECORD_SYNC_MODE_CODEC   0

#define RECORD_SYNC_MODE_DATA   1

#define RECORD_SYNC_MODE_HOST   3

#define RECORD_SYNC_MODE_POLL   2

#define RECORD_TFRMODE_8020   3

#define RECORD_TFRMODE_80X5   0

#define RECORD_TS41_AVG_RATE   533

#define RECORD_TS41_WORDS   8

#define RECORD_TS48_AVG_RATE   600

#define RECORD_TS48_WORDS   9

#define RECORD_TS53_AVG_RATE   667

#define RECORD_TS53_WORDS   10

#define RECORD_TS63_AVG_RATE   800

#define RECORD_TS63_WORDS   12

#define RECORD_TS85_AVG_RATE   1067

#define RECORD_TS85_WORDS   16

#define RECORD_ULAW_10MS_WORDS   40

#define RECORD_ULAW_20MS_WORDS   80

#define RECORD_ULAW_30MS_WORDS   120

#define RECORD_ULAW_WORDS   120

#define RecordCD   3

#define RecordDeviceCount   7

#define RecordLineIn   4

#define RecordMaster   0

#define RecordMicrophone   1

#define RecordPhoneIn   5

#define RecordPhoneLineIn   6

#define RecordWave   2

#define RING_PATTERN_MASK   (0x0FFF)

#define SLIC_OFF_HOOK   (0x0)

#define SLIC_ON_HOOK   (0x1)

#define SLIC_STATE_ACTIVE   2

#define SLIC_STATE_APR   6

#define SLIC_STATE_OHT   3

#define SLIC_STATE_OHTPR   7

#define SLIC_STATE_OPENCIRCUIT   0

#define SLIC_STATE_RINGING   1

#define SLIC_STATE_STANDBY   5

#define SLIC_STATE_TIPOPEN   4

#define SPKRPHONE_AEC_HI   4

#define SPKRPHONE_AEC_LO   2

#define SPKRPHONE_AEC_ON   1

#define SPKRPHONE_LINE_VOLUME_MUTE   3

#define SPKRPHONE_LINE_VOLUME_POS_0DB   2

#define SPKRPHONE_LINE_VOLUME_POS_4DB   1

#define SPKRPHONE_LINE_VOLUME_POS_8DB   0

#define SPKRPHONE_SPEAKER_VOLUME_MUTE   15

#define SPKRPHONE_SPEAKER_VOLUME_NEG_10DB   12

#define SPKRPHONE_SPEAKER_VOLUME_NEG_12DB   13

#define SPKRPHONE_SPEAKER_VOLUME_NEG_14DB   14

#define SPKRPHONE_SPEAKER_VOLUME_NEG_2DB   8

#define SPKRPHONE_SPEAKER_VOLUME_NEG_4DB   9

#define SPKRPHONE_SPEAKER_VOLUME_NEG_6DB   10

#define SPKRPHONE_SPEAKER_VOLUME_NEG_8DB   11

#define SPKRPHONE_SPEAKER_VOLUME_POS_0DB   7

#define SPKRPHONE_SPEAKER_VOLUME_POS_10DB   2

#define SPKRPHONE_SPEAKER_VOLUME_POS_12DB   1

#define SPKRPHONE_SPEAKER_VOLUME_POS_14DB   0

#define SPKRPHONE_SPEAKER_VOLUME_POS_2DB   6

#define SPKRPHONE_SPEAKER_VOLUME_POS_4DB   5

#define SPKRPHONE_SPEAKER_VOLUME_POS_6DB   4

#define SPKRPHONE_SPEAKER_VOLUME_POS_8DB   3

#define TONE_AUDIBLE_RING   3

#define TONE_BUSY   2

#define TONE_BUSY_VERIFICATION   8

#define TONE_CALL_WAITING   7

#define TONE_CONFIRMATION   10

#define TONE_DIAL   0

#define TONE_EXECUTIVE_OVERRIDE   9

#define TONE_INTERCEPT   6

#define TONE_RECALL_DIAL   4

#define TONE_REORDER   1

#define TONE_SPECIAL_AR   5


Typedef Documentation

typedef struct ipj_vxd_devio IPJ_VXD_DEVIO

typedef struct PERF_STAT* LPPERF_STAT

typedef struct _MIXER_LINE MIXER_LINE


Variable Documentation

const WORD CODEC_INPUT_CODEC_EXCHANGE = 1

const WORD CODEC_INPUT_CODEC_NORMAL = 0

const WORD CODEC_LAW_MULAW = 0

const WORD CODEC_LONG_LONGFRAME = 1

const WORD CODEC_LONG_SHORTFRAME = 0

const WORD CODEC_MASTER_MASTER = 1

const WORD CODEC_MASTER_SLAVE = 0

const WORD CODEC_OUTPUT_CODEC_BOTH = 3

const WORD CODEC_OUTPUT_CODEC_CODEC0 = 2

const WORD CODEC_OUTPUT_CODEC_CODEC1 = 1

const WORD CODEC_OUTPUT_CODEC_DEFAULT = 0

const WORD CODEC_SET_RATE_NEXTCMD = 1

const WORD CODEC_SET_RATE_NOACTION = 0

const WORD CODEC_WIDE_1SCLK = 0

const WORD CODEC_WIDE_8OR16SCLKS = 1

const WORD CODEC_WIDTH_16BIT = 1

const WORD CODEC_WIDTH_8BIT = 0

const WORD COMPRESS_SYNC_MODE_CODEC = 0

const WORD COMPRESS_SYNC_MODE_DATA = 1

const WORD COMPRESS_SYNC_MODE_HOST = 3

const WORD COMPRESS_SYNC_MODE_POLL = 2

const WORD COMPRESS_TFRMODE_8020 = 3

const WORD COMPRESS_TFRMODE_80X5 = 0

const DWORD SCLK_1024 = 1024000

const DWORD SCLK_2000 = 2000000

const DWORD SCLK_2048 = 2048000

const DWORD SCLK_512 = 512000

const DWORD SCLK_MAX = 1835008

const DWORD XTAL_38912 = 3891200

const DWORD XTAL_4000 = 4000000

const DWORD XTAL_4096 = 4096000


Generated on Mon Sep 25 16:20:12 2006 for OPAL by  doxygen 1.4.7