Project

General

Profile

« Previous | Next » 

Revision 4c96c7c9

Added by Leszek Koltunski over 2 years ago

Add debugging option to DistortedEffects.

View differences:

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