/** * Play back a file loop times (0 = only once). Play in the background, non-blocking. * * @param filename * name of the wav file * @param loop * number of times the file should be repeated (0 = play only once). */ public static void playWavFile(String filename, int loop) { playWavFile(filename, loop, false); }
/** * Play back a file loop times (0 = only once). Play in the background, non-blocking. * * @param filename * name of the wav file * @param loop * number of times the file should be repeated (0 = play only once). */ public static void playWavFile(String filename, int loop) { playWavFile(filename, loop, false); }