|
jlscp v0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.linuxsampler.lscp.event.GlobalInfoEvent
public class GlobalInfoEvent
A semantic event which indicates changes to the global settings of the sampler.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
GlobalInfoEvent(java.lang.Object source)
Constructs a GlobalInfoEvent object. |
|
GlobalInfoEvent(java.lang.Object source,
float volume)
Constructs a GlobalInfoEvent object. |
|
GlobalInfoEvent(java.lang.Object source,
int maxVoices,
int maxStreams)
Constructs a GlobalInfoEvent object. |
|
| Method Summary | |
|---|---|
int |
getStreamLimit()
Gets the new global sampler-wide limit of maximum disk streams. |
int |
getVoiceLimit()
Gets the new global sampler-wide limit of maximum voices. |
float |
getVolume()
Gets the new global volume value of the sampler. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalInfoEvent(java.lang.Object source)
GlobalInfoEvent object.
source - The object that originated the event.
public GlobalInfoEvent(java.lang.Object source,
float volume)
GlobalInfoEvent object.
source - The object that originated the event.volume - Specifies the new global volume of the sampler.
public GlobalInfoEvent(java.lang.Object source,
int maxVoices,
int maxStreams)
GlobalInfoEvent object.
source - The object that originated the event.| Method Detail |
|---|
public float getVolume()
GlobalInfoListener.volumeChanged(org.linuxsampler.lscp.event.GlobalInfoEvent)
event is fired.
public int getVoiceLimit()
GlobalInfoListener.voiceLimitChanged(org.linuxsampler.lscp.event.GlobalInfoEvent)
event is fired.
public int getStreamLimit()
GlobalInfoListener.streamLimitChanged(org.linuxsampler.lscp.event.GlobalInfoEvent)
event is fired.
|
jlscp v0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||