FreeRDP
server/rdpsnd.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  rdpsnd_server_context
 

Typedefs

typedef UINT(* psRdpsndStart) (RdpsndServerContext *context)
 
typedef UINT(* psRdpsndStop) (RdpsndServerContext *context)
 
typedef BOOL(* psRdpsndChannelIdAssigned) (RdpsndServerContext *context, UINT32 channelId)
 
typedef UINT(* psRdpsndServerInitialize) (RdpsndServerContext *context, BOOL ownThread)
 
typedef UINT(* psRdpsndServerSendFormats) (RdpsndServerContext *context)
 
typedef UINT(* psRdpsndServerSelectFormat) (RdpsndServerContext *context, UINT16 client_format_index)
 
typedef UINT(* psRdpsndServerTraining) (RdpsndServerContext *context, UINT16 timestamp, UINT16 packsize, BYTE *data)
 
typedef UINT(* psRdpsndServerTrainingConfirm) (RdpsndServerContext *context, UINT16 timestamp, UINT16 packsize)
 
typedef UINT(* psRdpsndServerSendSamples) (RdpsndServerContext *context, const void *buf, size_t nframes, UINT16 wTimestamp)
 
typedef UINT(* psRdpsndServerSendSamples2) (RdpsndServerContext *context, UINT16 formatNo, const void *buf, size_t size, UINT16 timestamp, UINT32 audioTimeStamp)
 
typedef UINT(* psRdpsndServerConfirmBlock) (RdpsndServerContext *context, BYTE confirmBlockNum, UINT16 wtimestamp)
 
typedef UINT(* psRdpsndServerSetVolume) (RdpsndServerContext *context, UINT16 left, UINT16 right)
 
typedef UINT(* psRdpsndServerClose) (RdpsndServerContext *context)
 
typedef void(* psRdpsndServerActivated) (RdpsndServerContext *context)
 

Functions

FREERDP_API void rdpsnd_server_context_free (RdpsndServerContext *context)
 
FREERDP_API RdpsndServerContext * rdpsnd_server_context_new (HANDLE vcm)
 
FREERDP_API void rdpsnd_server_context_reset (RdpsndServerContext *)
 
FREERDP_API HANDLE rdpsnd_server_get_event_handle (RdpsndServerContext *context)
 
FREERDP_API UINT rdpsnd_server_handle_messages (RdpsndServerContext *context)
 

Typedef Documentation

◆ psRdpsndChannelIdAssigned

typedef BOOL(* psRdpsndChannelIdAssigned) (RdpsndServerContext *context, UINT32 channelId)

◆ psRdpsndServerActivated

typedef void(* psRdpsndServerActivated) (RdpsndServerContext *context)

◆ psRdpsndServerClose

typedef UINT(* psRdpsndServerClose) (RdpsndServerContext *context)

◆ psRdpsndServerConfirmBlock

typedef UINT(* psRdpsndServerConfirmBlock) (RdpsndServerContext *context, BYTE confirmBlockNum, UINT16 wtimestamp)

◆ psRdpsndServerInitialize

typedef UINT(* psRdpsndServerInitialize) (RdpsndServerContext *context, BOOL ownThread)

◆ psRdpsndServerSelectFormat

typedef UINT(* psRdpsndServerSelectFormat) (RdpsndServerContext *context, UINT16 client_format_index)

◆ psRdpsndServerSendFormats

typedef UINT(* psRdpsndServerSendFormats) (RdpsndServerContext *context)

◆ psRdpsndServerSendSamples

typedef UINT(* psRdpsndServerSendSamples) (RdpsndServerContext *context, const void *buf, size_t nframes, UINT16 wTimestamp)

◆ psRdpsndServerSendSamples2

typedef UINT(* psRdpsndServerSendSamples2) (RdpsndServerContext *context, UINT16 formatNo, const void *buf, size_t size, UINT16 timestamp, UINT32 audioTimeStamp)

◆ psRdpsndServerSetVolume

typedef UINT(* psRdpsndServerSetVolume) (RdpsndServerContext *context, UINT16 left, UINT16 right)

◆ psRdpsndServerTraining

typedef UINT(* psRdpsndServerTraining) (RdpsndServerContext *context, UINT16 timestamp, UINT16 packsize, BYTE *data)

◆ psRdpsndServerTrainingConfirm

typedef UINT(* psRdpsndServerTrainingConfirm) (RdpsndServerContext *context, UINT16 timestamp, UINT16 packsize)

◆ psRdpsndStart

typedef UINT(* psRdpsndStart) (RdpsndServerContext *context)

◆ psRdpsndStop

typedef UINT(* psRdpsndStop) (RdpsndServerContext *context)

Function Documentation

◆ rdpsnd_server_context_free()

FREERDP_API void rdpsnd_server_context_free ( RdpsndServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpsnd_server_context_new()

FREERDP_API RdpsndServerContext* rdpsnd_server_context_new ( HANDLE  vcm)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpsnd_server_context_reset()

FREERDP_API void rdpsnd_server_context_reset ( RdpsndServerContext *  context)
Here is the call graph for this function:

◆ rdpsnd_server_get_event_handle()

FREERDP_API HANDLE rdpsnd_server_get_event_handle ( RdpsndServerContext *  context)

◆ rdpsnd_server_handle_messages()

FREERDP_API UINT rdpsnd_server_handle_messages ( RdpsndServerContext *  context)

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: