Searched refs:sles_data (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.h | 73 } sles_data; typedef 80 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, 84 int slesDestroy(sles_data ** ppSles); 87 int slesFull(sles_data *pSles); 89 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource, int numFram… 90 int slesProcessNext(sles_data *pSles, double *pSamples, long maxSamples); 91 int slesDestroyServer(sles_data *pSles);
|
D | jni_sles.c | 28 sles_data * pSles = NULL; in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() 42 sles_data * pSles= (sles_data*) ((long)sles); in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext() 60 sles_data * pSles= (sles_data*) ((long) sles); in Java_com_android_cts_verifier_audio_NativeAudioThread_slesDestroy()
|
D | sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, in slesInit() 42 sles_data * pSles = (sles_data*) calloc(1, sizeof (sles_data)); in slesInit() 44 SLES_PRINTF("malloc %zu bytes at %p", sizeof(sles_data), pSles); in slesInit() 57 int slesDestroy(sles_data ** ppSles) { in slesDestroy() 78 sles_data *pSles = (sles_data*) context; in recorderCallback() 152 sles_data *pSles = (sles_data*) context; in playerCallback() 215 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, in slesCreateServer() 536 int slesProcessNext(sles_data *pSles, double *pSamples, long maxSamples) { in slesProcessNext() 600 int slesDestroyServer(sles_data *pSles) { in slesDestroyServer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 94 public native int slesProcessNext(long sles_data, double[] samples, long offset); in slesProcessNext() argument 95 public native int slesDestroy(long sles_data); in slesDestroy() argument 131 long sles_data = slesInit(mSamplingRate, mMinPlayBufferSizeInBytes/2, mMicSource, in run() local 133 log(String.format("sles_data = 0x%X",sles_data)); in run() 135 if (sles_data == 0 ) { in run() 158 int samplesRead = slesProcessNext(sles_data, mvSamples,offset); in run() 168 runDestroy(sles_data); in run() 206 private void runDestroy(final long sles_data ) { in runDestroy() argument 211 final long local_sles_data = sles_data; in runDestroy()
|