sipxmedialib
Version 3.3
|
#include <windows.h>
#include <process.h>
#include <mmsystem.h>
#include <assert.h>
#include "mp/dmaTask.h"
#include "mp/MpBufferMsg.h"
#include "mp/MpBuf.h"
#include "mp/MprToSpkr.h"
#include "mp/MpMediaTask.h"
#include "os/OsDefs.h"
#include "os/OsIntPtrMsg.h"
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | OHISTORY (2 * (N_OUT_BUFFERS)) |
#define | WM_ALT_HEARTBEAT WM_USER+1 |
Functions | |
void | showWaveError (char *syscall, int e, int N, int line) |
void CALLBACK | speakerCallbackProc (HANDLE h, UINT wMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam, DWORD_PTR unused) |
void | closeSpeakerDevices () |
unsigned int __stdcall | SpkrThread (LPVOID Unused) |
Variables | |
HANDLE | hMicThread |
HANDLE | hSpkrThread |
int | smSpkrQPreload |
int | frameCount |
OsMsgPool * | gSpeakerStatusPool = NULL |
OsMsgQ * | gSpeakerStatusQueue = NULL |
HWAVEOUT | audioOutH |
HWAVEOUT | audioOutCallH |
#define WIN32_LEAN_AND_MEAN |
#define OHISTORY (2 * (N_OUT_BUFFERS)) |
#define WM_ALT_HEARTBEAT WM_USER+1 |
void showWaveError | ( | char * | syscall, |
int | e, | ||
int | N, | ||
int | line | ||
) |
void CALLBACK speakerCallbackProc | ( | HANDLE | h, |
UINT | wMsg, | ||
DWORD_PTR | dwInstance, | ||
DWORD_PTR | dwParam, | ||
DWORD_PTR | unused | ||
) |
void closeSpeakerDevices | ( | ) |
unsigned int __stdcall SpkrThread | ( | LPVOID | Unused | ) |
HANDLE hMicThread |
HANDLE hSpkrThread |
int smSpkrQPreload |
int frameCount |
OsMsgPool* gSpeakerStatusPool = NULL |
OsMsgQ* gSpeakerStatusQueue = NULL |
HWAVEOUT audioOutH |
HWAVEOUT audioOutCallH |