OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pSles
(Results
1 - 4
of
4
) sorted by null
/cts/apps/CtsVerifier/jni/audio_loopback/
sles.cpp
42
sles_data *
pSles
= (sles_data*) calloc(1, sizeof (sles_data));
44
SLES_PRINTF("malloc %zu bytes at %p", sizeof(sles_data),
pSles
);
45
*ppSles =
pSles
;
46
if (
pSles
!= NULL)
50
status = slesCreateServer(
pSles
, samplingRate, frameCount, micSource,
78
sles_data *
pSles
= (sles_data*) context;
79
if (
pSles
!= NULL) {
85
pthread_mutex_lock(&(
pSles
->mutex));
89
assert(
pSles
->rxFront <=
pSles
->rxBufCount)
[
all
...]
jni_sles.c
28
sles_data *
pSles
= NULL;
30
if (slesInit(&
pSles
, samplingRate, frameCount, micSource, numFramesToIgnore) != SLES_FAIL) {
32
return (long)
pSles
;
42
sles_data *
pSles
= (sles_data*) ((long)sles);
50
SLES_PRINTF("jni slesProcessNext
pSles
:%p, currentSample %p, availableSamples %ld ",
pSles
,
53
int samplesRead = slesProcessNext(
pSles
, pCurrentSample, availableSamples);
60
sles_data *
pSles
= (sles_data*) ((long) sles);
62
int status = slesDestroy(&
pSles
);
sles.h
87
int slesFull(sles_data *
pSles
);
89
int slesCreateServer(sles_data *
pSles
, int samplingRate, int frameCount, int micSource, int numFramesToIgnore);
90
int slesProcessNext(sles_data *
pSles
, double *pSamples, long maxSamples);
91
int slesDestroyServer(sles_data *
pSles
);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
sles.cpp
36
static int slesCreateServer(sles_data *
pSles
, int samplingRate, int frameCount, int micSource,
40
static int slesDestroyServer(sles_data *
pSles
);
62
sles_data *
pSles
= (sles_data*) calloc(1, sizeof(sles_data));
64
SLES_PRINTF("
pSles
malloc %zu bytes at %p", sizeof(sles_data),
pSles
);
66
//"malloc %d bytes at %p", sizeof(sles_data),
pSles
);//Or ANDROID_LOG_INFO, ...
67
*ppSles =
pSles
;
68
if (
pSles
!= NULL)
72
status = slesCreateServer(
pSles
, samplingRate, frameCount, micSource,
106
sles_data *
pSles
= (sles_data*) context
[
all
...]
Completed in 267 milliseconds