|
|||||||||
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.AsioDrivers
final class AsioDrivers
This is a wrapper class for the native AsioDrivers class
Field Summary | |
---|---|
private static int |
MAX_DRIVERS
Number of maximum expected drivers |
Constructor Summary | |
---|---|
AsioDrivers()
Constructs a new AsioDrivers instance and creates a corresponding native instance |
|
AsioDrivers(long pointer)
Constructs a new AsioDrivers instance that corresponds to an existing native instance, which is specified by the pointer |
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 |
getCurrentDriverIndex()
Get the index of the currently loaded driver if any |
(package private) String |
getCurrentDriverName()
Get the name of the currently loaded driver if any |
private String |
getDriverName(int i)
|
(package private) String[] |
getDriverNames()
Get the names of all installed ASIO drivers for user selection |
(package private) boolean |
loadDriver(String name)
Load the driver with the given name |
private int |
prepareDriverNames(int maxDrivers)
|
(package private) void |
removeCurrentDriver()
Unload the currently loaded driver if any |
Methods inherited from class com.groovemanager.spi.asio.NativeClass |
---|
finalize, getPointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int MAX_DRIVERS
Constructor Detail |
---|
AsioDrivers()
AsioDrivers(long pointer)
pointer
- The native address of the native
AsioDrivers instanceMethod Detail |
---|
boolean loadDriver(String name)
name
- The name of the driver that should be loaded.
The name should be derived from getDriverNames()
private int prepareDriverNames(int maxDrivers)
private String getDriverName(int i)
String getCurrentDriverName()
int getCurrentDriverIndex()
void removeCurrentDriver()
String[] getDriverNames()
protected long createClass()
NativeClass
createClass
in class NativeClass
protected void cleanUp()
NativeClass
cleanUp
in class NativeClass
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |