Searched refs:mAudioBuffer (Results 1 – 1 of 1) sorted by relevance
56 private final byte[] mAudioBuffer = new byte[SAMPLING_RATE_HZ * 2]; field in RobotSpeakTtsService235 ByteBuffer buffer = ByteBuffer.wrap(mAudioBuffer).order(ByteOrder.LITTLE_ENDIAN); in generateOneSecondOfAudio()274 for (int i = 0; i < mAudioBuffer.length / 2; ++i) { in generateOneSecondOfAudio()282 while (offset < mAudioBuffer.length) { in generateOneSecondOfAudio()283 int bytesToWrite = Math.min(maxBufferSize, mAudioBuffer.length - offset); in generateOneSecondOfAudio()284 cb.audioAvailable(mAudioBuffer, offset, bytesToWrite); in generateOneSecondOfAudio()