Searched refs:NANOS_PER_MILLI (Results 1 – 5 of 5) sorted by relevance
75 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()
26 public static final long NANOS_PER_MILLI = 1000000; field in Constant
105 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()
399 (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()
119 #define NANOS_PER_MILLI 1000000 macro