196 |
} |
} |
197 |
|
|
198 |
/** |
/** |
199 |
|
* Gets the index of the send effect chain with ID <code>chainId</code>. |
200 |
|
* @param chainId The ID of the send effect chain. |
201 |
|
* @return The zero-based position of the specified send effect chain |
202 |
|
* in the send effect chain list or <code>-1</code> |
203 |
|
* if there is no send effect chain with ID <code>chainId</code>. |
204 |
|
*/ |
205 |
|
public int getSendEffectChainIndex(int chainId) { |
206 |
|
for(int i = 0; i < getSendEffectChainCount(); i++) { |
207 |
|
if(getSendEffectChain(i).getChainId() == chainId) return i; |
208 |
|
} |
209 |
|
|
210 |
|
return -1; |
211 |
|
} |
212 |
|
|
213 |
|
/** |
214 |
* Adds the specified send effect chain to the specified audio output device. |
* Adds the specified send effect chain to the specified audio output device. |
215 |
*/ |
*/ |
216 |
@Override |
@Override |