FreeRDP
rdpsnd/client/opensles/opensl_io.c File Reference
#include <winpr/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

◆ CONV16BIT

#define CONV16BIT   32768

◆ CONVMYFLT

#define CONVMYFLT   (1. / 32768.)

Function Documentation

◆ android_AudioOut()

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:

◆ android_CloseAudioDevice()

void android_CloseAudioDevice ( OPENSL_STREAM p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ android_GetOutputMute()

int android_GetOutputMute ( OPENSL_STREAM p)
Here is the caller graph for this function:

◆ android_GetOutputVolume()

int android_GetOutputVolume ( OPENSL_STREAM p)
Here is the caller graph for this function:

◆ android_GetOutputVolumeMax()

int android_GetOutputVolumeMax ( OPENSL_STREAM p)
Here is the caller graph for this function:

◆ android_OpenAudioDevice()

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:

◆ android_SetOutputMute()

BOOL android_SetOutputMute ( OPENSL_STREAM p,
BOOL  _mute 
)
Here is the caller graph for this function:

◆ android_SetOutputVolume()

BOOL android_SetOutputVolume ( OPENSL_STREAM p,
int  level 
)
Here is the caller graph for this function:

◆ bqPlayerCallback()

static void bqPlayerCallback ( SLAndroidSimpleBufferQueueItf  bq,
void *  context 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openSLCreateEngine()

static SLresult openSLCreateEngine ( OPENSL_STREAM p)
static
Here is the caller graph for this function:

◆ openSLDestroyEngine()

static void openSLDestroyEngine ( OPENSL_STREAM p)
static
Here is the caller graph for this function:

◆ openSLPlayOpen()

static SLresult openSLPlayOpen ( OPENSL_STREAM p)
static
Here is the call graph for this function:
Here is the caller graph for this function: