FreeRDP
rdpsnd_fake.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <winpr/cmdline.h>
#include <freerdp/types.h>
#include "rdpsnd_main.h"

Macros

#define freerdp_rdpsnd_client_subsystem_entry   FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 

Functions

static BOOL rdpsnd_fake_open (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency)
 
static void rdpsnd_fake_close (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_fake_set_volume (rdpsndDevicePlugin *device, UINT32 value)
 
static void rdpsnd_fake_free (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_fake_format_supported (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format)
 
static BOOL rdpsnd_fake_set_format (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, int latency)
 
static UINT rdpsnd_fake_play (rdpsndDevicePlugin *device, const BYTE *data, size_t size)
 
static void rdpsnd_fake_start (rdpsndDevicePlugin *device)
 
static UINT rdpsnd_fake_parse_addin_args (rdpsndFakePlugin *fake, ADDIN_ARGV *args)
 
UINT freerdp_rdpsnd_client_subsystem_entry (PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
 

Variables

static COMMAND_LINE_ARGUMENT_A rdpsnd_fake_args []
 

Macro Definition Documentation

#define freerdp_rdpsnd_client_subsystem_entry   FREERDP_API freerdp_rdpsnd_client_subsystem_entry

Function Documentation

UINT freerdp_rdpsnd_client_subsystem_entry ( PFREERDP_RDPSND_DEVICE_ENTRY_POINTS  pEntryPoints)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

static void rdpsnd_fake_close ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function:

static BOOL rdpsnd_fake_format_supported ( rdpsndDevicePlugin *  device,
const AUDIO_FORMAT format 
)
static

Here is the caller graph for this function:

static void rdpsnd_fake_free ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function:

static BOOL rdpsnd_fake_open ( rdpsndDevicePlugin *  device,
const AUDIO_FORMAT format,
UINT32  latency 
)
static

Here is the caller graph for this function:

static UINT rdpsnd_fake_parse_addin_args ( rdpsndFakePlugin *  fake,
ADDIN_ARGV *  args 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT rdpsnd_fake_play ( rdpsndDevicePlugin *  device,
const BYTE data,
size_t  size 
)
static

Here is the caller graph for this function:

static BOOL rdpsnd_fake_set_format ( rdpsndDevicePlugin *  device,
const AUDIO_FORMAT format,
int  latency 
)
static
static BOOL rdpsnd_fake_set_volume ( rdpsndDevicePlugin *  device,
UINT32  value 
)
static

Here is the caller graph for this function:

static void rdpsnd_fake_start ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function:

Variable Documentation

COMMAND_LINE_ARGUMENT_A rdpsnd_fake_args[]
static
Initial value:
=
{
{ NULL, 0, NULL, NULL, NULL, -1, NULL, NULL }
}
if availableBytes return NULL
Definition: TPCircularBuffer.h:104