mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
cleanup
This commit is contained in:
parent
b9bf056c4c
commit
e23538a518
2 changed files with 61 additions and 77 deletions
|
|
@ -139,18 +139,4 @@ public class StreamPlayer {
|
|||
}
|
||||
return buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a ByteBuffer buffer to hold specified bytes - strictly a utility
|
||||
* method
|
||||
*
|
||||
* @param size
|
||||
* how many bytes to contain
|
||||
* @return created ByteBuffer
|
||||
*/
|
||||
protected static ByteBuffer createByteBuffer(int size) {
|
||||
ByteBuffer temp = ByteBuffer.allocateDirect(4 * size);
|
||||
temp.order(ByteOrder.nativeOrder());
|
||||
return temp;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue