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

◆ CONV16BIT

#define CONV16BIT   32768

◆ CONVMYFLT

#define CONVMYFLT   (1. / 32768.)

Function Documentation

◆ android_CloseRecDevice()

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

◆ android_OpenRecDevice()

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:

◆ bqRecorderCallback()

static void bqRecorderCallback ( SLAndroidSimpleBufferQueueItf  bq,
void *  context 
)
static
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:

◆ opensles_queue_element_free()

static void opensles_queue_element_free ( void *  obj)
static
Here is the caller graph for this function:

◆ opensles_queue_element_new()

static queue_element* opensles_queue_element_new ( size_t  size)
static
Here is the caller graph for this function:

◆ openSLRecOpen()

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