comment fixing
This commit is contained in:
parent
5c72fa9cb2
commit
2c5cab2fa1
|
@ -102,8 +102,7 @@ public class StreamPlayerMemory {
|
|||
/**
|
||||
* Reads the file into a ByteBuffer
|
||||
*
|
||||
* @param filename
|
||||
* Name of file to load
|
||||
* @param filename Name of file to load
|
||||
* @return ByteBuffer containing file data
|
||||
*/
|
||||
static protected ByteBuffer getData(String filename) {
|
||||
|
@ -127,7 +126,7 @@ public class StreamPlayerMemory {
|
|||
//done reading, close
|
||||
bis.close();
|
||||
|
||||
// if ogg vorbis data, we need to pass it unmodified to alBufferData
|
||||
// place it in a buffer
|
||||
buffer = ByteBuffer.allocateDirect(baos.size());
|
||||
buffer.order(ByteOrder.nativeOrder());
|
||||
buffer.put(baos.toByteArray());
|
||||
|
|
Loading…
Reference in New Issue