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

◆ CINTERFACE

#define CINTERFACE   1

◆ INITGUID

#define INITGUID

◆ TAG

#define TAG   SERVER_TAG("windows")

Function Documentation

◆ wf_directsound_activate()

int wf_directsound_activate ( RdpsndServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_rdpsnd_directsound_thread()

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:

◆ wf_rdpsnd_set_latest_peer()

int wf_rdpsnd_set_latest_peer ( wfPeerContext *  peer)
Here is the caller graph for this function:

Variable Documentation

◆ cap

IDirectSoundCapture8* cap

◆ capBuf

IDirectSoundCaptureBuffer8* capBuf

◆ dscbd

DSCBUFFERDESC dscbd

◆ lastPos

DWORD lastPos

◆ latestPeer

wfPeerContext* latestPeer