sipxmedialib  Version 3.3
Macros | Functions | Variables
SpeakerThreadWnt.cpp File Reference
#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"
Include dependency graph for SpeakerThreadWnt.cpp:

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
 

Macro Definition Documentation

#define WIN32_LEAN_AND_MEAN
#define OHISTORY   (2 * (N_OUT_BUFFERS))
#define WM_ALT_HEARTBEAT   WM_USER+1

Function Documentation

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)

Variable Documentation

HANDLE hMicThread
HANDLE hSpkrThread
int smSpkrQPreload
int frameCount
OsMsgPool* gSpeakerStatusPool = NULL
OsMsgQ* gSpeakerStatusQueue = NULL
HWAVEOUT audioOutH
HWAVEOUT audioOutCallH