Searched refs:SAMPLING_RATE_HZ (Results 1 – 1 of 1) sorted by relevance
51 private static final int SAMPLING_RATE_HZ = 16000; field in RobotSpeakTtsService56 private final byte[] mAudioBuffer = new byte[SAMPLING_RATE_HZ * 2];176 callback.start(SAMPLING_RATE_HZ, in onSynthesizeText()259 final int waveLength = SAMPLING_RATE_HZ / frequency; in generateOneSecondOfAudio()260 final int times = SAMPLING_RATE_HZ / waveLength; in generateOneSecondOfAudio()