FreeRDP
wf_directsound.c File Reference
#include "wf_directsound.h"
#include "wf_interface.h"
#include "wf_info.h"
#include "wf_rdpsnd.h"
#include <winpr/windows.h>
#include <initguid.h>
#include <objbase.h>
#include <mmsystem.h>
#include <dsound.h>
#include <freerdp/log.h>

Macros

#define INITGUID
 
#define CINTERFACE   1
 
#define TAG   SERVER_TAG("windows")
 

Functions

int wf_rdpsnd_set_latest_peer (wfPeerContext *peer)
 
int wf_directsound_activate (RdpsndServerContext *context)
 
static DWORD WINAPI wf_rdpsnd_directsound_thread (LPVOID lpParam)
 

Variables

IDirectSoundCapture8 * cap
 
IDirectSoundCaptureBuffer8 * capBuf
 
DSCBUFFERDESC dscbd
 
DWORD lastPos
 
wfPeerContext * latestPeer
 

Macro Definition Documentation

#define CINTERFACE   1
#define INITGUID
#define TAG   SERVER_TAG("windows")

Function Documentation

int wf_directsound_activate ( RdpsndServerContext *  context)

Here is the call graph for this function:

Here is the caller graph for this function:

static DWORD WINAPI wf_rdpsnd_directsound_thread ( LPVOID  lpParam)
static

Here is the call graph for this function:

Here is the caller graph for this function:

int wf_rdpsnd_set_latest_peer ( wfPeerContext *  peer)

Here is the caller graph for this function:

Variable Documentation

IDirectSoundCapture8* cap
IDirectSoundCaptureBuffer8* capBuf
DSCBUFFERDESC dscbd
DWORD lastPos
wfPeerContext* latestPeer