FreeRDP
rdpsnd/client/opensles/opensl_io.c File Reference
#include <assert.h>
#include "rdpsnd_main.h"
#include "opensl_io.h"

Macros

#define CONV16BIT   32768
 
#define CONVMYFLT   (1./32768.)
 

Functions

static void bqPlayerCallback (SLAndroidSimpleBufferQueueItf bq, void *context)
 
static SLresult openSLCreateEngine (OPENSL_STREAM *p)
 
static SLresult openSLPlayOpen (OPENSL_STREAM *p)
 
static void openSLDestroyEngine (OPENSL_STREAM *p)
 
OPENSL_STREAMandroid_OpenAudioDevice (int sr, int outchannels, int bufferframes)
 
void android_CloseAudioDevice (OPENSL_STREAM *p)
 
int android_AudioOut (OPENSL_STREAM *p, const short *buffer, int size)
 
int android_GetOutputMute (OPENSL_STREAM *p)
 
BOOL android_SetOutputMute (OPENSL_STREAM *p, BOOL _mute)
 
int android_GetOutputVolume (OPENSL_STREAM *p)
 
int android_GetOutputVolumeMax (OPENSL_STREAM *p)
 
BOOL android_SetOutputVolume (OPENSL_STREAM *p, int level)
 

Macro Definition Documentation

#define CONV16BIT   32768
#define CONVMYFLT   (1./32768.)

Function Documentation

int android_AudioOut ( OPENSL_STREAM p,
const short *  buffer,
int  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void android_CloseAudioDevice ( OPENSL_STREAM p)

Here is the call graph for this function:

Here is the caller graph for this function:

int android_GetOutputMute ( OPENSL_STREAM p)

Here is the call graph for this function:

Here is the caller graph for this function:

int android_GetOutputVolume ( OPENSL_STREAM p)

Here is the call graph for this function:

Here is the caller graph for this function:

int android_GetOutputVolumeMax ( OPENSL_STREAM p)

Here is the call graph for this function:

Here is the caller graph for this function:

OPENSL_STREAM* android_OpenAudioDevice ( int  sr,
int  outchannels,
int  bufferframes 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL android_SetOutputMute ( OPENSL_STREAM p,
BOOL  _mute 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL android_SetOutputVolume ( OPENSL_STREAM p,
int  level 
)

Here is the caller graph for this function:

static void bqPlayerCallback ( SLAndroidSimpleBufferQueueItf  bq,
void context 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static SLresult openSLCreateEngine ( OPENSL_STREAM p)
static

Here is the caller graph for this function:

static void openSLDestroyEngine ( OPENSL_STREAM p)
static

Here is the caller graph for this function:

static SLresult openSLPlayOpen ( OPENSL_STREAM p)
static

Here is the call graph for this function:

Here is the caller graph for this function: