21 |
*/ |
*/ |
22 |
package org.jsampler.event; |
package org.jsampler.event; |
23 |
|
|
24 |
import org.linuxsampler.lscp.EffectChain; |
import org.jsampler.EffectChain; |
|
import org.linuxsampler.lscp.EffectInstance; |
|
25 |
|
|
26 |
/** |
/** |
27 |
* |
* |
29 |
*/ |
*/ |
30 |
public class EffectChainEvent extends java.util.EventObject { |
public class EffectChainEvent extends java.util.EventObject { |
31 |
private EffectChain chain; |
private EffectChain chain; |
|
private EffectInstance[] instances; |
|
32 |
|
|
33 |
/** |
/** |
34 |
* Constructs an <code>EffectChainEvent</code> object. |
* Constructs an <code>EffectChainEvent</code> object. |
35 |
* |
* |
36 |
* @param source The object that originated the event. |
* @param source The object that originated the event. |
|
* @param audioDeviceModel The model of the audio device to which |
|
|
* the specified effect chain belongs |
|
37 |
* @param chain The effect chain. |
* @param chain The effect chain. |
|
* @param instances The new list of effect stances. |
|
38 |
*/ |
*/ |
39 |
public |
public |
40 |
EffectChainEvent( Object source, EffectChain chain, EffectInstance[] instances ) { |
EffectChainEvent(Object source, EffectChain chain) { |
41 |
super(source); |
super(source); |
42 |
this.chain = chain; |
this.chain = chain; |
|
this.instances = instances; |
|
43 |
} |
} |
44 |
|
|
45 |
/** |
/** |
49 |
*/ |
*/ |
50 |
public EffectChain |
public EffectChain |
51 |
getEffectChain() { return chain; } |
getEffectChain() { return chain; } |
|
|
|
|
/** Provides the new list of effect instances. */ |
|
|
public EffectInstance[] |
|
|
getEffectInstances() { return instances; } |
|
52 |
} |
} |