FreeRDP
rdpsnd_sndio.c File Reference
#include <sndio.h>
#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_sndio_open (rdpsndDevicePlugin *device, AUDIO_FORMAT *format, int latency)
 
static void rdpsnd_sndio_close (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_sndio_set_volume (rdpsndDevicePlugin *device, UINT32 value)
 
static void rdpsnd_sndio_free (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_sndio_format_supported (rdpsndDevicePlugin *device, AUDIO_FORMAT *format)
 
static void rdpsnd_sndio_play (rdpsndDevicePlugin *device, BYTE *data, int size)
 
static UINT rdpsnd_sndio_parse_addin_args (rdpsndDevicePlugin *device, ADDIN_ARGV *args)
 
UINT freerdp_rdpsnd_client_subsystem_entry (PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
 

Macro Definition Documentation

◆ freerdp_rdpsnd_client_subsystem_entry

#define freerdp_rdpsnd_client_subsystem_entry   FREERDP_API freerdp_rdpsnd_client_subsystem_entry

Function Documentation

◆ freerdp_rdpsnd_client_subsystem_entry()

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:

◆ rdpsnd_sndio_close()

static void rdpsnd_sndio_close ( rdpsndDevicePlugin *  device)
static
Here is the caller graph for this function:

◆ rdpsnd_sndio_format_supported()

static BOOL rdpsnd_sndio_format_supported ( rdpsndDevicePlugin *  device,
AUDIO_FORMAT format 
)
static
Here is the caller graph for this function:

◆ rdpsnd_sndio_free()

static void rdpsnd_sndio_free ( rdpsndDevicePlugin *  device)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpsnd_sndio_open()

static BOOL rdpsnd_sndio_open ( rdpsndDevicePlugin *  device,
AUDIO_FORMAT format,
int  latency 
)
static
Here is the caller graph for this function:

◆ rdpsnd_sndio_parse_addin_args()

static UINT rdpsnd_sndio_parse_addin_args ( rdpsndDevicePlugin *  device,
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:

◆ rdpsnd_sndio_play()

static void rdpsnd_sndio_play ( rdpsndDevicePlugin *  device,
BYTE data,
int  size 
)
static
Here is the caller graph for this function:

◆ rdpsnd_sndio_set_volume()

static BOOL rdpsnd_sndio_set_volume ( rdpsndDevicePlugin *  device,
UINT32  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: