Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DBufferCallbackTimes.java36 public BufferCallbackTimes(int maxRecords, int expectedBufferPeriod) { in BufferCallbackTimes() argument
41 mExpectedBufferPeriod = (short) expectedBufferPeriod; in BufferCallbackTimes()
52 boolean exceededCapacity, short expectedBufferPeriod) { in BufferCallbackTimes() argument
57 mExpectedBufferPeriod = expectedBufferPeriod; in BufferCallbackTimes()
DBufferPeriod.java123 public void prepareMemberObjects(int maxRecords, int expectedBufferPeriod, in prepareMemberObjects() argument
125 mCallbackTimes = new BufferCallbackTimes(maxRecords, expectedBufferPeriod); in prepareMemberObjects()
127 mExpectedBufferPeriod = expectedBufferPeriod; in prepareMemberObjects()
DPerformanceMeasurement.java48 public PerformanceMeasurement(int expectedBufferPeriod, int[] bufferData) { in PerformanceMeasurement() argument
56 mExpectedBufferPeriodMs = expectedBufferPeriod; in PerformanceMeasurement()
/external/drrickorang/LoopbackApp/app/src/main/jni/
Dsles.h115 short expectedBufferPeriod; member
164 short expectedBufferPeriod);
165 bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod);
Djni_sles.c144 jobject getCallbackTimes(JNIEnv *env, callbackTimeStamps *callbacks, short expectedBufferPeriod){ in getCallbackTimes() argument
155 callbacks->exceededCapacity, expectedBufferPeriod); in getCallbackTimes()
163 return getCallbackTimes(env, &(pSles->playerTimeStamps), pSles->expectedBufferPeriod); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerCallbackTimeStamps()
170 return getCallbackTimes(env, &(pSles->recorderTimeStamps), pSles->expectedBufferPeriod); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderCallbackTimeStamps()
Dsles.cpp90 pSles->expectedBufferPeriod); in recorderCallback()
224 &pSles->playerTimeStamps, pSles->expectedBufferPeriod); in playerCallback()
360 short expectedBufferPeriod) { in collectBufferPeriod() argument
374 bool outlier = updateBufferStats(stats, callbackDuration, expectedBufferPeriod); in collectBufferPeriod()
416 bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod) { in updateBufferStats() argument
435 int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod * NANOS_PER_MILLI; in updateBufferStats()
443 if (diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_CAPTURE_THRESHOLD) { in updateBufferStats()
447 atomicSetIfGreater(&(stats->captureRank), diff_in_milli - expectedBufferPeriod); in updateBufferStats()
449 return diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_OUTLIER_THRESHOLD; in updateBufferStats()
618 pSles->expectedBufferPeriod = (short) ( in slesCreateServer()