FreeRDP
rdpsnd_winmm.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Windows.h>
#include <MMSystem.h>
#include <winpr/crt.h>
#include <winpr/cmdline.h>
#include <freerdp/types.h>
#include <freerdp/channels/log.h>
#include "rdpsnd_main.h"

Macros

#define freerdp_rdpsnd_client_subsystem_entry   FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 

Functions

static BOOL rdpsnd_winmm_convert_format (const AUDIO_FORMAT *in, WAVEFORMATEX *out)
 
static BOOL rdpsnd_winmm_set_format (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency)
 
static void CALLBACK rdpsnd_winmm_callback_function (HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
 
static BOOL rdpsnd_winmm_open (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency)
 
static void rdpsnd_winmm_close (rdpsndDevicePlugin *device)
 
static void rdpsnd_winmm_free (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_winmm_format_supported (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format)
 
static UINT32 rdpsnd_winmm_get_volume (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_winmm_set_volume (rdpsndDevicePlugin *device, UINT32 value)
 
static void rdpsnd_winmm_start (rdpsndDevicePlugin *device)
 
static UINT rdpsnd_winmm_play (rdpsndDevicePlugin *device, const BYTE *data, size_t size)
 
static void rdpsnd_winmm_parse_addin_args (rdpsndDevicePlugin *device, ADDIN_ARGV *args)
 
UINT freerdp_rdpsnd_client_subsystem_entry (PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
 

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 CALLBACK rdpsnd_winmm_callback_function ( HWAVEOUT  hwo,
UINT  uMsg,
DWORD_PTR  dwInstance,
DWORD_PTR  dwParam1,
DWORD_PTR  dwParam2 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdpsnd_winmm_close ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function:

static BOOL rdpsnd_winmm_convert_format ( const AUDIO_FORMAT in,
WAVEFORMATEX *  out 
)
static

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdpsnd_winmm_free ( rdpsndDevicePlugin *  device)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT32 rdpsnd_winmm_get_volume ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdpsnd_winmm_parse_addin_args ( rdpsndDevicePlugin *  device,
ADDIN_ARGV *  args 
)
static

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdpsnd_winmm_set_volume ( rdpsndDevicePlugin *  device,
UINT32  value 
)
static

Here is the caller graph for this function:

static void rdpsnd_winmm_start ( rdpsndDevicePlugin *  device)
static

Here is the caller graph for this function: