|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MidiInstrumentInfo.LoadMode>
org.linuxsampler.lscp.MidiInstrumentInfo.LoadMode
public static enum MidiInstrumentInfo.LoadMode
Enum Constant Summary | |
---|---|
DEFAULT
It will be up to the InstrumentManager to decide which mode to use. |
|
ON_DEMAND
The instrument will be loaded when when demanded by at least one sampler channel. |
|
ON_DEMAND_HOLD
Same as ON_DEMAND with the difference that the instrument
will be kept in memory even when not needed by any sampler channel. |
|
PERSISTENT
The instrument will be immediately loaded into memory and the instrument will be kept all the time. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static MidiInstrumentInfo.LoadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MidiInstrumentInfo.LoadMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MidiInstrumentInfo.LoadMode DEFAULT
public static final MidiInstrumentInfo.LoadMode ON_DEMAND
public static final MidiInstrumentInfo.LoadMode ON_DEMAND_HOLD
ON_DEMAND
with the difference that the instrument
will be kept in memory even when not needed by any sampler channel.
public static final MidiInstrumentInfo.LoadMode PERSISTENT
Method Detail |
---|
public static MidiInstrumentInfo.LoadMode[] values()
for (MidiInstrumentInfo.LoadMode c : MidiInstrumentInfo.LoadMode.values()) System.out.println(c);
public static MidiInstrumentInfo.LoadMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MidiInstrumentInfo.LoadMode>
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |