FreeRDP
server/audin.h File Reference
#include <freerdp/config.h>
#include <freerdp/channels/audin.h>
#include <freerdp/channels/wtsvc.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  audin_server_context
 

Typedefs

typedef BOOL(* psAudinServerChannelOpen) (audin_server_context *context)
 
typedef BOOL(* psAudinServerChannelIsOpen) (audin_server_context *context)
 
typedef BOOL(* psAudinServerChannelClose) (audin_server_context *context)
 
typedef BOOL(* psAudinServerChannelIdAssigned) (audin_server_context *context, UINT32 channelId)
 
typedef UINT(* psAudinServerVersion) (audin_server_context *context, const SNDIN_VERSION *version)
 
typedef UINT(* psAudinServerFormats) (audin_server_context *context, const SNDIN_FORMATS *formats)
 
typedef UINT(* psAudinServerOpen) (audin_server_context *context, const SNDIN_OPEN *open)
 
typedef UINT(* psAudinServerOpenReply) (audin_server_context *context, const SNDIN_OPEN_REPLY *open_reply)
 
typedef UINT(* psAudinServerIncomingData) (audin_server_context *context, const SNDIN_DATA_INCOMING *data_incoming)
 
typedef UINT(* psAudinServerData) (audin_server_context *context, const SNDIN_DATA *data)
 
typedef UINT(* psAudinServerFormatChange) (audin_server_context *context, const SNDIN_FORMATCHANGE *format_change)
 

Functions

FREERDP_API void audin_server_context_free (audin_server_context *context)
 
FREERDP_API audin_server_context * audin_server_context_new (HANDLE vcm)
 
FREERDP_API BOOL audin_server_set_formats (audin_server_context *context, SSIZE_T count, const AUDIO_FORMAT *formats)
 sets the supported audio formats for AUDIN server channel context. More...
 
FREERDP_API const AUDIO_FORMATaudin_server_get_negotiated_format (const audin_server_context *context)
 

Typedef Documentation

◆ psAudinServerChannelClose

typedef BOOL(* psAudinServerChannelClose) (audin_server_context *context)

◆ psAudinServerChannelIdAssigned

typedef BOOL(* psAudinServerChannelIdAssigned) (audin_server_context *context, UINT32 channelId)

◆ psAudinServerChannelIsOpen

typedef BOOL(* psAudinServerChannelIsOpen) (audin_server_context *context)

◆ psAudinServerChannelOpen

typedef BOOL(* psAudinServerChannelOpen) (audin_server_context *context)

◆ psAudinServerData

typedef UINT(* psAudinServerData) (audin_server_context *context, const SNDIN_DATA *data)

◆ psAudinServerFormatChange

typedef UINT(* psAudinServerFormatChange) (audin_server_context *context, const SNDIN_FORMATCHANGE *format_change)

◆ psAudinServerFormats

typedef UINT(* psAudinServerFormats) (audin_server_context *context, const SNDIN_FORMATS *formats)

◆ psAudinServerIncomingData

typedef UINT(* psAudinServerIncomingData) (audin_server_context *context, const SNDIN_DATA_INCOMING *data_incoming)

◆ psAudinServerOpen

typedef UINT(* psAudinServerOpen) (audin_server_context *context, const SNDIN_OPEN *open)

◆ psAudinServerOpenReply

typedef UINT(* psAudinServerOpenReply) (audin_server_context *context, const SNDIN_OPEN_REPLY *open_reply)

◆ psAudinServerVersion

typedef UINT(* psAudinServerVersion) (audin_server_context *context, const SNDIN_VERSION *version)

Function Documentation

◆ audin_server_context_free()

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

◆ audin_server_context_new()

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

◆ audin_server_get_negotiated_format()

FREERDP_API const AUDIO_FORMAT* audin_server_get_negotiated_format ( const audin_server_context *  context)

◆ audin_server_set_formats()

FREERDP_API BOOL audin_server_set_formats ( audin_server_context *  context,
SSIZE_T  count,
const AUDIO_FORMAT formats 
)

sets the supported audio formats for AUDIN server channel context.

Parameters
contextThe context to set the formats for
countThe number of formats found in formats. Use -1 to set to default formats supported by FreeRDP
formatsAn array of count elements
Returns
TRUE if successful and at least one format is supported, FALSE otherwise.
Here is the call graph for this function:
Here is the caller graph for this function: