Searched refs:numShorts (Results 1 – 5 of 5) sorted by relevance
98 int numShorts = buffer.position(); in toLittleEndianBytes() local100 byte[] result = new byte[numShorts * 2]; in toLittleEndianBytes()101 for (int shortIdx = 0; shortIdx < numShorts; shortIdx++) { in toLittleEndianBytes()
102 int numShorts = audioBuffer.position(); in onAudioRecorded() local103 int numBytes = numShorts * 2; in onAudioRecorded()128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded()
60 final int numShorts = (end - start) / 2; in checksum() local61 for (int i = 0; i < numShorts; i++) { in checksum()64 start += numShorts * 2; in checksum()