Searched refs:MAX_VAL (Results 1 – 4 of 4) sorted by relevance
71 private static final double MAX_VAL = Math.pow(2, 15); field in AudioFrequencyMicActivity72 private static final double CLIP_LEVEL = (MAX_VAL-10) / MAX_VAL;862 double value = mAudioShortArray2[i] / MAX_VAL; in onPeriodicNotification()
66 private static final double MAX_VAL = Math.pow(2, 15); field in AudioFrequencyUnprocessedActivity67 private static final double CLIP_LEVEL = (MAX_VAL-10) / MAX_VAL;1088 double value = mAudioShortArray2[i] / MAX_VAL; in onPeriodicNotification()
40 private static final float MAX_VAL = (float)(1 << 15); field in AudioAEC131 float value = mAudioShortArray[i] / MAX_VAL; in updateRms()
54 private static final double MAX_VAL = Math.pow(2, 15); field in AudioFrequencyVoiceRecognitionActivity165 double value = mAudioShortArray2[i] / MAX_VAL; in onCreate()