1 |
/* |
/* |
2 |
* JSampler - a java front-end for LinuxSampler |
* JSampler - a java front-end for LinuxSampler |
3 |
* |
* |
4 |
* Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com> |
* Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com> |
5 |
* |
* |
6 |
* This file is part of JSampler. |
* This file is part of JSampler. |
7 |
* |
* |
25 |
import org.jsampler.event.AudioDeviceListener; |
import org.jsampler.event.AudioDeviceListener; |
26 |
|
|
27 |
import org.linuxsampler.lscp.AudioOutputDevice; |
import org.linuxsampler.lscp.AudioOutputDevice; |
28 |
|
import org.linuxsampler.lscp.Effect; |
29 |
import org.linuxsampler.lscp.Parameter; |
import org.linuxsampler.lscp.Parameter; |
30 |
|
|
31 |
|
|
108 |
* @param prm The parameter to be set. |
* @param prm The parameter to be set. |
109 |
*/ |
*/ |
110 |
public void setBackendChannelParameter(int channel, Parameter prm); |
public void setBackendChannelParameter(int channel, Parameter prm); |
111 |
|
|
112 |
|
/** Gets the current number of send effect chains. */ |
113 |
|
public int getSendEffectChainCount(); |
114 |
|
|
115 |
|
/** Gets the effect chain at the specified position. */ |
116 |
|
public EffectChain getSendEffectChain(int chainIdx); |
117 |
|
|
118 |
|
public EffectChain getSendEffectChainById(int chainId); |
119 |
|
|
120 |
|
/** |
121 |
|
* Adds the specified send effect chain to the audio output device. |
122 |
|
*/ |
123 |
|
public void addSendEffectChain(EffectChain chain); |
124 |
|
|
125 |
|
/** Schedules a new task for removing the specified send effect chain. */ |
126 |
|
public void removeBackendSendEffectChain(int chainId); |
127 |
|
|
128 |
|
/** |
129 |
|
* Removes the specified send effect chain from the audio output device. |
130 |
|
*/ |
131 |
|
public void removeSendEffectChain(int chainId); |
132 |
|
|
133 |
|
public void removeAllSendEffectChains(); |
134 |
|
|
135 |
|
/** |
136 |
|
* Schedules a new task for adding a new send effect chain and |
137 |
|
* assigning it to the specified audio output device. |
138 |
|
*/ |
139 |
|
public void addBackendSendEffectChain(); |
140 |
|
|
141 |
|
/** |
142 |
|
* Schedules a new task for creating new effect instances and inserting them |
143 |
|
* in the specified send effect chain at the specified position. |
144 |
|
*/ |
145 |
|
public void addBackendEffectInstances(Effect[] effects, int chainId, int index); |
146 |
|
|
147 |
|
/** |
148 |
|
* Schedules a new task for removing the specified |
149 |
|
* effect instance from the specified send effect chain. |
150 |
|
*/ |
151 |
|
public void removeBackendEffectInstance(int chainId, int instanceId); |
152 |
} |
} |