FreeRDP
include/freerdp/codec/dsp.h File Reference
#include <winpr/stream.h>
#include <freerdp/api.h>
#include <freerdp/codec/audio.h>

Functions

FREERDP_API void freerdp_dsp_context_free (FREERDP_DSP_CONTEXT *context)
 
FREERDP_API FREERDP_DSP_CONTEXT * freerdp_dsp_context_new (BOOL encoder)
 
FREERDP_API BOOL freerdp_dsp_supports_format (const AUDIO_FORMAT *format, BOOL encode)
 
FREERDP_API BOOL freerdp_dsp_encode (FREERDP_DSP_CONTEXT *context, const AUDIO_FORMAT *srcFormat, const BYTE *data, size_t length, wStream *out)
 
FREERDP_API BOOL freerdp_dsp_decode (FREERDP_DSP_CONTEXT *context, const AUDIO_FORMAT *srcFormat, const BYTE *data, size_t length, wStream *out)
 
FREERDP_API BOOL freerdp_dsp_context_reset (FREERDP_DSP_CONTEXT *context, const AUDIO_FORMAT *targetFormat, UINT32 FramesPerPacket)
 

Function Documentation

◆ freerdp_dsp_context_free()

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

◆ freerdp_dsp_context_new()

FREERDP_API FREERDP_DSP_CONTEXT* freerdp_dsp_context_new ( BOOL  encoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_dsp_context_reset()

FREERDP_API BOOL freerdp_dsp_context_reset ( FREERDP_DSP_CONTEXT *  context,
const AUDIO_FORMAT targetFormat,
UINT32  FramesPerPacket 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_dsp_decode()

FREERDP_API BOOL freerdp_dsp_decode ( FREERDP_DSP_CONTEXT *  context,
const AUDIO_FORMAT srcFormat,
const BYTE data,
size_t  length,
wStream out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_dsp_encode()

FREERDP_API BOOL freerdp_dsp_encode ( FREERDP_DSP_CONTEXT *  context,
const AUDIO_FORMAT srcFormat,
const BYTE data,
size_t  length,
wStream out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_dsp_supports_format()

FREERDP_API BOOL freerdp_dsp_supports_format ( const AUDIO_FORMAT format,
BOOL  encode 
)
Here is the call graph for this function:
Here is the caller graph for this function: