|
|||||||||
| 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
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) java.lang.String |
getCurrentDriverName()
Get the name of the currently loaded driver if any |
private java.lang.String |
getDriverName(int i)
|
(package private) java.lang.String[] |
getDriverNames()
Get the names of all installed ASIO drivers for user selection |
(package private) boolean |
loadDriver(java.lang.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 instance| Method Detail |
|---|
protected void cleanUp()
NativeClass
cleanUp in class NativeClassprotected long createClass()
NativeClass
createClass in class NativeClassint getCurrentDriverIndex()
java.lang.String getCurrentDriverName()
private java.lang.String getDriverName(int i)
java.lang.String[] getDriverNames()
boolean loadDriver(java.lang.String name)
name - The name of the driver that should be loaded.
The name should be derived from getDriverNames()
private int prepareDriverNames(int maxDrivers)
void removeCurrentDriver()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||