FreeRDP
audin_opensl_es.c File Reference
#include <freerdp/config.h>
#include <winpr/assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/cmdline.h>
#include <freerdp/freerdp.h>
#include <freerdp/addin.h>
#include <freerdp/channels/rdpsnd.h>
#include <SLES/OpenSLES.h>
#include <freerdp/client/audin.h>
#include "audin_main.h"
#include "opensl_io.h"

Functions

static UINT audin_opensles_close (IAudinDevice *device)
 
static void audin_receive (void *context, const void *data, size_t size)
 
static UINT audin_opensles_free (IAudinDevice *device)
 
static BOOL audin_opensles_format_supported (IAudinDevice *device, const AUDIO_FORMAT *format)
 
static UINT audin_opensles_set_format (IAudinDevice *device, const AUDIO_FORMAT *format, UINT32 FramesPerPacket)
 
static UINT audin_opensles_open (IAudinDevice *device, AudinReceive receive, void *user_data)
 
static UINT audin_opensles_parse_addin_args (AudinOpenSLESDevice *device, const ADDIN_ARGV *args)
 
 FREERDP_ENTRY_POINT (UINT opensles_freerdp_audin_client_subsystem_entry(PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints))
 

Function Documentation

◆ audin_opensles_close()

UINT audin_opensles_close ( IAudinDevice *  device)
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:

◆ audin_opensles_format_supported()

static BOOL audin_opensles_format_supported ( IAudinDevice *  device,
const AUDIO_FORMAT format 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audin_opensles_free()

static UINT audin_opensles_free ( IAudinDevice *  device)
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:

◆ audin_opensles_open()

static UINT audin_opensles_open ( IAudinDevice *  device,
AudinReceive  receive,
void *  user_data 
)
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:

◆ audin_opensles_parse_addin_args()

static UINT audin_opensles_parse_addin_args ( AudinOpenSLESDevice *  device,
const 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:

◆ audin_opensles_set_format()

static UINT audin_opensles_set_format ( IAudinDevice *  device,
const AUDIO_FORMAT format,
UINT32  FramesPerPacket 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the caller graph for this function:

◆ audin_receive()

static void audin_receive ( void *  context,
const void *  data,
size_t  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FREERDP_ENTRY_POINT()

FREERDP_ENTRY_POINT ( UINT   opensles_freerdp_audin_client_subsystem_entry PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints)

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function: