Home
last modified time | relevance | path

Searched refs:pSles (Results 1 – 1 of 1) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp36 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)); in slesInit() local
64 SLES_PRINTF("pSles malloc %zu bytes at %p", sizeof(sles_data), pSles); in slesInit()
67 *ppSles = pSles; in slesInit()
68 if (pSles != NULL) in slesInit()
72 status = slesCreateServer(pSles, samplingRate, frameCount, micSource, in slesInit()
106 sles_data *pSles = (sles_data*) context; in recorderCallback() local
107 if (pSles != NULL) { in recorderCallback()
108 collectBufferPeriod(&pSles->recorderBufferStats, NULL /*fdpStats*/, in recorderCallback()
[all …]