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.java37 public BufferCallbackTimes(int maxRecords, int expectedBufferPeriod) { in BufferCallbackTimes() argument
42 mExpectedBufferPeriod = (short) expectedBufferPeriod; in BufferCallbackTimes()
53 boolean exceededCapacity, short expectedBufferPeriod) { in BufferCallbackTimes() argument
58 mExpectedBufferPeriod = expectedBufferPeriod; in BufferCallbackTimes()
DBufferPeriod.java124 public void prepareMemberObjects(int maxRecords, int expectedBufferPeriod, in prepareMemberObjects() argument
126 mCallbackTimes = new BufferCallbackTimes(maxRecords, expectedBufferPeriod); in prepareMemberObjects()
128 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/cpp/
Djni_native.c195 jobject getCallbackTimes(JNIEnv *env, callbackTimeStamps *callbacks, short expectedBufferPeriod){ in getCallbackTimes() argument
206 callbacks->exceededCapacity, expectedBufferPeriod); in getCallbackTimes()
215 int expectedBufferPeriod = pInstance->methods->getPlayerTimeStampsAndExpectedBufferPeriod( in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetPlayerCallbackTimeStamps() local
217 return getCallbackTimes(env, pTSs, expectedBufferPeriod); in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetPlayerCallbackTimeStamps()
225 int expectedBufferPeriod = pInstance->methods->getRecorderTimeStampsAndExpectedBufferPeriod( in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetRecorderCallbackTimeStamps() local
227 return getCallbackTimes(env, pTSs, expectedBufferPeriod); in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetRecorderCallbackTimeStamps()
Dsles.cpp44 callbackTimeStamps *timeStamps, short expectedBufferPeriod);
45 static bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod);
109 &pSles->recorderTimeStamps, pSles->expectedBufferPeriod); in recorderCallback()
206 &pSles->playerTimeStamps, pSles->expectedBufferPeriod); in playerCallback()
343 callbackTimeStamps *timeStamps, short expectedBufferPeriod) { in collectBufferPeriod() argument
357 bool outlier = updateBufferStats(stats, callbackDuration, expectedBufferPeriod); in collectBufferPeriod()
399 static bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod) { in updateBufferStats() argument
418 int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod * NANOS_PER_MILLI; in updateBufferStats()
426 if (diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_CAPTURE_THRESHOLD) { in updateBufferStats()
430 atomicSetIfGreater(&(stats->captureRank), diff_in_milli - expectedBufferPeriod); in updateBufferStats()
[all …]
Dsles.h104 short expectedBufferPeriod; member