/cts/apps/CtsVerifier/jni/audio_loopback/ |
sles.h | 73 } sles_data; typedef in typeref:struct:__anon1606 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 numFramesToIgnore); 90 int slesProcessNext(sles_data *pSles, double *pSamples, long maxSamples); 91 int slesDestroyServer(sles_data *pSles);
|
jni_sles.c | 28 sles_data * pSles = NULL; 42 sles_data * pSles= (sles_data*) ((long)sles); 60 sles_data * pSles= (sles_data*) ((long) sles);
|
sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, 42 sles_data * pSles = (sles_data*) calloc(1, sizeof (sles_data)); 44 SLES_PRINTF("malloc %zu bytes at %p", sizeof(sles_data), pSles); 57 int slesDestroy(sles_data ** ppSles) { 78 sles_data *pSles = (sles_data*) context; 152 sles_data *pSles = (sles_data*) context [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
NativeAudioThread.java | 94 public native int slesProcessNext(long sles_data, double[] samples, long offset); 95 public native int slesDestroy(long sles_data); 131 long sles_data = slesInit(mSamplingRate, mMinPlayBufferSizeInBytes/2, mMicSource, local 133 log(String.format("sles_data = 0x%X",sles_data)); 135 if (sles_data == 0 ) { 158 int samplesRead = slesProcessNext(sles_data, mvSamples,offset); 168 runDestroy(sles_data); 206 private void runDestroy(final long sles_data ) { 211 final long local_sles_data = sles_data; [all...] |
/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); 59 sles_data ** ppSles = (sles_data**) ppCtx; 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, ... 83 sles_data ** ppSles = (sles_data**)ppCtx [all...] |
sles.h | 105 } sles_data; typedef in typeref:struct:__anon20729
|