|
Defines |
#define | JITTER_TIMER_ID 6 |
#define | nWaveHeaders 4 |
#define | BOMB_TIMER_ID 7 |
#define | DESIRED_WINSOCK_VERSION 0x0101 |
#define | MINIMUM_WINSOCK_VERSION 0x0001 |
#define | MODEM_INPUT_EVENT 9999 |
#define | addrHost sockHost.sin_addr |
#define | BoolProfile(var, section, itemname, defval) var = GetPrivateProfileInt(section, itemname, defval, pfn) |
#define | WindowPref(var, prefName) BoolProfile(var, rstring(IDS_PF_DISPLAY_MODES), rstring(IDS_PF_OPT_ ## prefName), FALSE) |
#define | WindowPref(var, prefName) case IDM_OPT_ ## prefName: var = !var; break |
#define | Jitter(time) case IDM_OPT_JITTER_##time: jitterBuf = time; break |
#define | BoolProfile(var, section, itemname, defval) WritePrivateProfileString(section, itemname, var ? kS1 : kS0, pfn) |
#define | WindowPref(var, prefName) BoolProfile(var, rstring(IDS_PF_DISPLAY_MODES), rstring(IDS_PF_OPT_ ## prefName), FALSE) |
#define | Enable(item, condition) |
#define | Checker(item, value) |
#define | WindowPref(var, prefName) Checker(IDM_OPT_ ## prefName, var) |
#define | Jitter(time) Checker(IDM_OPT_JITTER_##time, jitterBuf == time) |
#define | WorkA(item, value) Enable(item, !connActive); Checker(item, value) |
Functions |
LRESULT | Frame_MDIMessageForwarder (HWND hwnd, UINT nMessage, WPARAM wParam, LPARAM lParam) |
void | propeller (int control, DWORD value) |
HWND | findClientByHost (LPSOCKADDR_IN paddr) |
HWND | getActiveConnection (void) |
int | isHalfDuplex (HWND hwnd) |
void | waveOutShutdown (void) |
int | inputSampleCount (void) |
int | inputBufferLength (void) |
int | startWaveInput (HWND hwnd) |
void | terminateWaveInput (void) |
void | rememberNewConnection (LPSTR connectionFile) |
VOID | newConnection (HWND hwnd, LPSTR connectionFile, LPSTR knownHost) |
BOOL | onCreate (HWND hwnd, CREATESTRUCT *pCreateStruct) |
VOID | onCommand (HWND hwnd, INT id, HWND hwndCtl, UINT codeNotify) |
int | obtainOutput (HWND hwnd) |
LPCLIENT_DATA | createClient (SOCKADDR_IN addrClient, soundbuf *d) |
unsigned short | findPort (SOCKET s) |
VOID | socketInput (HWND hwnd, SOCKET sock, SOCKERR serr, SOCKEVENT sevent) |
VOID | controlInput (HWND hwnd, SOCKET sock, SOCKERR serr, SOCKEVENT sevent) |
void | ParseCommandLine (HWND hwnd, LPSTR pszCmdLine) |
LRESULT CALLBACK | Frame_WndProc (HWND hwnd, UINT nMessage, WPARAM wParam, LPARAM lParam) |
Variables |
HWAVEOUT | hWaveOut = NULL |
HWAVEIN | hWaveIn = NULL |
int | isWaveSound = FALSE |
int | outputActive = FALSE |
int | inputActive = FALSE |
int | inputPaused = FALSE |
int | openConnections = 0 |
int | listeners = 0 |
int | broadcasting = FALSE |
int | bConferencing = FALSE |
int | bEchoPackets = FALSE |
int | outputTimeout = 0 |
long | outputPending = 0 |
long | microsecondsPending = 0 |
double | smoothedMicrosecondsPending = 0.0 |
int | halfDuplexTransition = FALSE |
int | outputInShutdown = FALSE |
DWORD | HtmlHelpContext = 0 |
gsm | gsmh = NULL |
rate_t | xrate |
HCURSOR | phoneCursor = NULL |
HCURSOR | boltCursor = NULL |
HCURSOR | earCursor = NULL |
int | voxmode = IDM_VOX_NONE |
int | breakinput = FALSE |
int | compression = FALSE |
int | gsmcompress = TRUE |
int | adpcmcompress = FALSE |
int | lpccompress = FALSE |
int | lpc10compress = FALSE |
int | celpcompress = FALSE |
int | robust = 1 |
int | voxcompress = FALSE |
int | protocolXmit = PROTOCOL_SPEAKFREE |
int | protocolSent = PROTOCOL_SPEAKFREE |
int | protocolAuto = TRUE |
public_key_package | pk_package = PGP |
int | alwaysBindSocket = FALSE |
int | useSendNotSendto = FALSE |
int | waNetNoConnect = FALSE |
int | waNetUseSend = FALSE |
int | waNetMultiTTLisChar = FALSE |
int | waNetNoOutOverflow = FALSE |
int | waNetNoMsgLoopIns = FALSE |
int | waNetSynchronousGetHostname = 2 |
int | waNetSynchronousGetHostnameAction = FALSE |
int | waProtNoHeartbeat = FALSE |
int | waProtUseLargerRTCPackets = FALSE |
int | waProtNoVAT = FALSE |
int | waProtNoRTP = FALSE |
int | waProtNoRTCPCrypt = FALSE |
int | waAudioHalf = FALSE |
int | waAudio11025 = FALSE |
int | waAudioRingMaxVolume = FALSE |
int | waAudioNoOutputRateAdjustment = FALSE |
UINT | waAudioInDevice = (UINT) WAVE_MAPPER |
UINT | waAudioOutDevice = (UINT) WAVE_MAPPER |
int | waAudioBeepOnTransmit = FALSE |
int | halfDuplex = FALSE |
int | audioIs8Bit = FALSE |
int | audioUse8Bit = FALSE |
int | netMaxSamples |
int | currentOutputRate = EXCHANGE_SAMPLE_RATE |
int | currentInputLength |
int | currentInputSamples |
int | holped = FALSE |
char | ringFileName [MAX_PATH] = "" |
int | lookWho_sTalking = FALSE |
int | openOnAnswerMessage = FALSE |
int | hideWhenMinimised = FALSE |
int | startMinimised = FALSE |
int | lurkInTray = FALSE |
HWND | trayIconWindow = NULL |
char | lwl_s_server [MAX_PATH] |
char | lwl_s_email [80] |
char | lwl_s_fullname [80] |
char | lwl_s_phone [80] |
char | lwl_s_location [80] |
int | lwl_s_publish |
int | lwl_s_exact |
char | lwl_a_server [MAX_PATH] |
int | lwl_a_exact |
int | lwl_t_published = FALSE |
int | lwl_t_resend = 0 |
int | lwl_t_diactive = FALSE |
int | lwl_t_pending = FALSE |
int | lwl_t_tock = 0 |
unsigned long | ssrc |
unsigned long | timestamp |
unsigned short | seq |
unsigned long | rtpdesrand |
char * | sdes = NULL |
int | sdesl |
int | spurt = TRUE |
char * | vatid = NULL |
int | vatidl |
char * | rtpsdes = NULL |
int | rtpsdesl |
HINSTANCE | hInst |
HACCEL | hAccel |
HWND | hwndMDIFrame |
HWND | hwndMDIClient |
HWND | hDlgPropeller = NULL |
HWND | hDlgChat = NULL |
HWND | hDlgConsole = NULL |
HWND | hDlgSpectral = NULL |
LPSTR | commandLine = NULL |
HWND | hDlgAnswer = NULL |
LPSTR | pszAppName |
INT | tmAveCharWidth |
INT | tmHeight |
int | rememberedConnections = 0 |
LPSTR | rememberedConnection [REMEMBER_CONNECTIONS] |
UINT | fileOpenHelpButton |
char * | fileHelpKey = NULL |
int | multiMemberships = 0 |
int | multiLoop = FALSE |
int | multiBrainDead = FALSE |
UINT | jitterBuf = 1000 |
BOOL | jitterPause = FALSE |
UINT | jitterTimer = 0 |
SOCKET | sCommand = INVALID_SOCKET |
SOCKET | sControl = INVALID_SOCKET |
SOCKET | lwlsock = INVALID_SOCKET |
auxSocket * | asList = NULL |
int | inputSoundBufferSize = 0 |
LPWAVEHDR | inWaveHeader [nWaveHeaders] |
int | waveHeadersAllocated = 0 |
int | createSuccessful = FALSE |
int | inputTerm = FALSE |
soundbuf | receivedSoundBuffer |
UINT | bombTimer = 0 |
int | closeBomb = FALSE |
u_long | Lazarus = 0 |
int | LazarusLong = 0 |
int | audioChannels = 1 |
int | samplesPerSecond = 8000 |
int | bytesPerSecond = 16000 |
int | sampleAlignment = 2 |
int | bitsPerSample = 16 |
char | kS0 [] = "0" |
char | kS1 [] = "1" |
int | aboutInSamples = 0 |
int | aboutInBits |
int | aboutOutSamples = 0 |
int | aboutOutBits |
long | packetsReceived = 0 |
long | packetsSent = 0 |
long | inputPacketsLost = 0 |
long | outputPacketsLost = 0 |
long | messageChecks = 0 |
int | messageQueueSize = 120 |
int | aboutUDPmax = 0 |