Revision 4c96c7c9
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueue.java | ||
---|---|---|
430 | 430 |
mUBF.markForDeletion(); |
431 | 431 |
} |
432 | 432 |
|
433 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
434 |
|
|
435 |
public String retEffects() |
|
436 |
{ |
|
437 |
String dbg=""; |
|
438 |
|
|
439 |
for(int i=0; i<mNumEffects; i++) |
|
440 |
{ |
|
441 |
dbg += (i+": "+mEffects[i].getString()+" "); |
|
442 |
} |
|
443 |
|
|
444 |
return dbg; |
|
445 |
} |
|
446 |
|
|
433 | 447 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
434 | 448 |
|
435 | 449 |
public void doWork() |
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
215 | 215 |
int num = type.ordinal(); |
216 | 216 |
return mQueues[num].getNumEffects(); |
217 | 217 |
} |
218 |
|
|
219 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
220 |
/** |
|
221 |
* Return a string describing all effects in the queues. |
|
222 |
*/ |
|
223 |
|
|
224 |
public String debug() |
|
225 |
{ |
|
226 |
String mat = mQueues[0].retEffects(); |
|
227 |
String ver = mQueues[1].retEffects(); |
|
228 |
String fra = mQueues[2].retEffects(); |
|
229 |
String pos = mQueues[3].retEffects(); |
|
230 |
|
|
231 |
return "MAT: "+mat+"\nVER: "+ver+"\nFRA: "+fra+"\nPOS: "+pos; |
|
232 |
} |
|
218 | 233 |
} |
Also available in: Unified diff
Add debugging option to DistortedEffects.