|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.spi.rex.NativeClass
com.groovemanager.spi.rex.REXSliceInfo
This class is a wrapper class for the native REXSliceInfo struct. A REXSliceInfo instance contains information about one specific slice of a REX file
| Field Summary | |
|---|---|
(package private) REXHandle |
handle
The REX handle to which this slice info belongs |
(package private) int |
index
The zero-based index of this slice |
(package private) REXInfo |
info
The REXInfo object from the handle |
| Constructor Summary | |
|---|---|
REXSliceInfo(long pointer,
REXHandle handle,
int sliceIndex)
Create a new REXSliceInfo that is connected to an already existing native instance which is defined by the given pointer. |
|
REXSliceInfo(REXHandle handle,
int sliceIndex)
Create a new REXSliceInfo instance. |
|
| Method Summary | |
|---|---|
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) int |
fPPQPos()
The position of this slice inside the file in PPQ (Parts Per Quarter Note) |
(package private) int |
fSamplelength()
The length of this slice in sample frames |
(package private) int |
sampleLengthTillNext()
The length in sample frames between the beginning of this slice and either the beginning of the next slice or - if this is the last slice - the end of the file |
(package private) int |
samplePos()
The position of this slice in sample frames |
| Methods inherited from class com.groovemanager.spi.rex.NativeClass |
|---|
finalize, getPointer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final REXHandle handle
final int index
final REXInfo info
| Constructor Detail |
|---|
REXSliceInfo(long pointer,
REXHandle handle,
int sliceIndex)
throws REXError
pointer - The address of the native REXSliceInfo instancehandle - The REXHandle to which this slice info belongs.sliceIndex - The zero-based index of the slice this info object
belongs to.
REXError - If handle.REXGetInfo() throws one.
REXSliceInfo(REXHandle handle,
int sliceIndex)
throws REXError
handle - The REXHandle to which this slice info belongs.sliceIndex - The zero-based index of the slice this info object
belongs to.
REXError - If handle.REXGetInfo() throws one.| Method Detail |
|---|
protected void cleanUp()
NativeClass
cleanUp in class NativeClassprotected long createClass()
NativeClass
createClass in class NativeClassint fPPQPos()
int fSamplelength()
int sampleLengthTillNext()
int samplePos()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||