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

Macros

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

Functions

static void bqRecorderCallback (SLAndroidSimpleBufferQueueItf bq, void *context)
 
static SLresult openSLCreateEngine (OPENSL_STREAM *p)
 
static SLresult openSLRecOpen (OPENSL_STREAM *p)
 
static void openSLDestroyEngine (OPENSL_STREAM *p)
 
static queue_element * opensles_queue_element_new (size_t size)
 
static void opensles_queue_element_free (void *obj)
 
OPENSL_STREAMandroid_OpenRecDevice (void *context, opensl_receive_t receive, int sr, int inchannels, int bufferframes, int bits_per_sample)
 
void android_CloseRecDevice (OPENSL_STREAM *p)
 

Macro Definition Documentation

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

Function Documentation

void android_CloseRecDevice ( OPENSL_STREAM p)

Here is the call graph for this function:

Here is the caller graph for this function:

OPENSL_STREAM* android_OpenRecDevice ( void context,
opensl_receive_t  receive,
int  sr,
int  inchannels,
int  bufferframes,
int  bits_per_sample 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static void bqRecorderCallback ( SLAndroidSimpleBufferQueueItf  bq,
void context 
)
static

Here is the caller graph for this function:

static SLresult openSLCreateEngine ( OPENSL_STREAM p)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void openSLDestroyEngine ( OPENSL_STREAM p)
static

Here is the caller graph for this function:

static void opensles_queue_element_free ( void obj)
static

Here is the caller graph for this function:

static queue_element* opensles_queue_element_new ( size_t  size)
static

Here is the caller graph for this function:

static SLresult openSLRecOpen ( OPENSL_STREAM p)
static

Here is the call graph for this function:

Here is the caller graph for this function: