Searched refs:sles_data (Results 1 – 4 of 4) sorted by relevance
/external/drrickorang/LoopbackApp/app/src/main/jni/ |
D | jni_sles.c | 29 sles_data * pSles = NULL; in Java_org_drrickorang_loopback_NativeAudioThread_slesInit() 51 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesProcessNext() 69 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesDestroy() 78 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderBufferPeriod() 92 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderMaxBufferPeriod() 102 sles_data *pSles = (sles_data *) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderVarianceBufferPeriod() 113 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerBufferPeriod() 126 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerMaxBufferPeriod() 136 sles_data *pSles = (sles_data *) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerVarianceBufferPeriod() 162 sles_data * pSles = (sles_data*) (size_t) sles; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerCallbackTimeStamps() [all …]
|
D | sles.h | 116 } sles_data; typedef 136 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, 142 int slesDestroy(sles_data ** ppSles); 146 int slesFull(sles_data *pSles); 148 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource, 152 int slesProcessNext(sles_data *pSles, double *pSamples, long maxSamples); 153 int slesDestroyServer(sles_data *pSles); 154 int* slesGetRecorderBufferPeriod(sles_data *pSles); 155 int slesGetRecorderMaxBufferPeriod(sles_data *pSles); 156 int64_t slesGetRecorderVarianceBufferPeriod(sles_data *pSles); [all …]
|
D | sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, in slesInit() 44 sles_data * pSles = (sles_data*) malloc(sizeof(sles_data)); in slesInit() 46 memset(pSles, 0, sizeof(sles_data)); in slesInit() 48 SLES_PRINTF("pSles malloc %zu bytes at %p", sizeof(sles_data), pSles); in slesInit() 66 int slesDestroy(sles_data ** ppSles) { in slesDestroy() 87 sles_data *pSles = (sles_data*) context; in recorderCallback() 176 ssize_t byteBuffer_write(sles_data *pSles, char *buffer, size_t count) { in byteBuffer_write() 221 sles_data *pSles = (sles_data*) context; in playerCallback() 452 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource, in slesCreateServer() 855 int slesProcessNext(sles_data *pSles, double *pSamples, long maxSamples) { in slesProcessNext() [all …]
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | NativeAudioThread.java | 138 public native int slesProcessNext(long sles_data, double[] samples, long offset); in slesProcessNext() argument 139 public native int slesDestroy(long sles_data); in slesDestroy() argument 142 public native int[] slesGetRecorderBufferPeriod(long sles_data); in slesGetRecorderBufferPeriod() argument 143 public native int slesGetRecorderMaxBufferPeriod(long sles_data); in slesGetRecorderMaxBufferPeriod() argument 144 public native double slesGetRecorderVarianceBufferPeriod(long sles_data); in slesGetRecorderVarianceBufferPeriod() argument 145 public native int[] slesGetPlayerBufferPeriod(long sles_data); in slesGetPlayerBufferPeriod() argument 146 public native int slesGetPlayerMaxBufferPeriod(long sles_data); in slesGetPlayerMaxBufferPeriod() argument 147 public native double slesGetPlayerVarianceBufferPeriod(long sles_data); in slesGetPlayerVarianceBufferPeriod() argument 148 public native BufferCallbackTimes slesGetPlayerCallbackTimeStamps(long sles_data); in slesGetPlayerCallbackTimeStamps() argument 149 public native BufferCallbackTimes slesGetRecorderCallbackTimeStamps(long sles_data); in slesGetRecorderCallbackTimeStamps() argument [all …]
|