Home
last modified time | relevance | path

Searched refs:NANOS_PER_MILLI (Results 1 – 5 of 5) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DBufferPeriod.java75 int diffInMilli = (int) ((diffInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()
76 Constant.NANOS_PER_MILLI); in collectBufferPeriod()
79 int timeStampInMilli = (int) ((timeStampInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()
80 Constant.NANOS_PER_MILLI); in collectBufferPeriod()
95 long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.NANOS_PER_MILLI; in collectBufferPeriod()
135 return Math.sqrt(mVar) / (double) Constant.NANOS_PER_MILLI; in getStdDevBufferPeriod()
DConstant.java26 public static final long NANOS_PER_MILLI = 1000000; field in Constant
/external/drrickorang/LoopbackApp/app/src/main/jni/
Djni_sles.c105 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderVarianceBufferPeriod()
139 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerVarianceBufferPeriod()
Dsles.cpp399 (short) ((callbackDuration + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in recordTimeStamp()
401 (int) ((timeStamp + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in recordTimeStamp()
420 int diff_in_milli = (int) ((diff_in_nano + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in updateBufferStats()
435 int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod * NANOS_PER_MILLI; in updateBufferStats()
Dsles.h119 #define NANOS_PER_MILLI 1000000 macro