Home
last modified time | relevance | path

Searched refs:BYTES_PER_SHORT (Results 1 – 2 of 2) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipeByteBuffer.java59 mByteBuffer = ByteBuffer.allocateDirect(numberOfShorts * Constant.BYTES_PER_SHORT); in PipeByteBuffer()
73 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in read()
97 int byteBufferFront = front * Constant.BYTES_PER_SHORT; // start reading from here in read()
121 byteBufferFront += Constant.BYTES_PER_SHORT; in byteBufferToArray()
147 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in availableToRead()
165 mByteBuffer.putInt(mMaxValues * Constant.BYTES_PER_SHORT, 0); in flush()
DConstant.java37 public static final int BYTES_PER_SHORT = 2; field in Constant