|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.groovemanager.spi.asio.NativeClass
com.groovemanager.spi.asio.ASIOBufferInfo
final class ASIOBufferInfo
This is a wrapper class for the native ASIOBufferInfo struct
Constructor Summary | |
---|---|
ASIOBufferInfo()
Constructs a new ASIOBufferInfo and creates a corresponding native instance |
|
ASIOBufferInfo(long pointer)
Constructs a new ASIOBufferInfo that corresponds to an existing native instance, which is specified by the pointer |
Method Summary | |
---|---|
(package private) long[] |
buffers()
The native addresses of the two ASIO buffer halfes |
(package private) int |
channelNum()
The index of the channel that this info is about. |
protected void |
cleanUp()
Delete the corresponding native instance to this class |
protected long |
createClass()
Create a new native instance and return its address |
(package private) boolean |
isInput()
Tell whether this info object describes an input or output buffer |
(package private) void |
setChannelNum(int num)
Set the channelNum-Attribute |
(package private) void |
setIsInput(boolean isInput)
Set the isInput-Attribute |
String |
toString()
|
Methods inherited from class com.groovemanager.spi.asio.NativeClass |
---|
finalize, getPointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
ASIOBufferInfo()
ASIOBufferInfo(long pointer)
pointer
- The native address of the native
ASIOBufferInfo instanceMethod Detail |
---|
boolean isInput()
void setIsInput(boolean isInput)
isInput
- true if this info should descibe an input buffer,
false otherwiseint channelNum()
void setChannelNum(int num)
num
- The index of the channel this info should describe
starting from 0.long[] buffers()
protected long createClass()
NativeClass
createClass
in class NativeClass
protected void cleanUp()
NativeClass
cleanUp
in class NativeClass
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |