FreeRDP
rdpsnd_mac.m File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/sysinfo.h>
#include <freerdp/types.h>
#include <AVFoundation/AVAudioBuffer.h>
#include <AVFoundation/AVFoundation.h>
#include "rdpsnd_main.h"

Functions

static BOOL rdpsnd_mac_set_format (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency)
 
static char * FormatError (OSStatus st)
 
static void rdpsnd_mac_release (rdpsndMacPlugin *mac)
 
static BOOL rdpsnd_mac_open (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency)
 
static void rdpsnd_mac_close (rdpsndDevicePlugin *device)
 
static void rdpsnd_mac_free (rdpsndDevicePlugin *device)
 
static BOOL rdpsnd_mac_format_supported (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format)
 
static BOOL rdpsnd_mac_set_volume (rdpsndDevicePlugin *device, UINT32 value)
 
static void rdpsnd_mac_start (rdpsndDevicePlugin *device)
 
static UINT rdpsnd_mac_play (rdpsndDevicePlugin *device, const BYTE *data, size_t size)
 
 FREERDP_ENTRY_POINT (UINT mac_freerdp_rdpsnd_client_subsystem_entry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints))
 

Function Documentation

◆ FormatError()

static char* FormatError ( OSStatus  st)
static
Here is the caller graph for this function:

◆ FREERDP_ENTRY_POINT()

FREERDP_ENTRY_POINT ( UINT   mac_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_mac_close()

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

◆ rdpsnd_mac_format_supported()

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

◆ rdpsnd_mac_free()

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

◆ rdpsnd_mac_open()

static BOOL rdpsnd_mac_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:

◆ rdpsnd_mac_play()

static UINT rdpsnd_mac_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:

◆ rdpsnd_mac_release()

static void rdpsnd_mac_release ( rdpsndMacPlugin *  mac)
static
Here is the caller graph for this function:

◆ rdpsnd_mac_set_format()

static BOOL rdpsnd_mac_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:

◆ rdpsnd_mac_set_volume()

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

◆ rdpsnd_mac_start()

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