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.java60 mByteBuffer = ByteBuffer.allocateDirect(numberOfShorts * Constant.BYTES_PER_SHORT); in PipeByteBuffer()
74 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in read()
98 int byteBufferFront = front * Constant.BYTES_PER_SHORT; // start reading from here in read()
122 byteBufferFront += Constant.BYTES_PER_SHORT; in byteBufferToArray()
148 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in availableToRead()
166 mByteBuffer.putInt(mMaxValues * Constant.BYTES_PER_SHORT, 0); in flush()
DConstant.java43 public static final int BYTES_PER_SHORT = 2; field in Constant