Mercurial > jmeCapture
view src/com/aurellem/capture/FixSettings.java @ 63:df4a2d12ea13
added new timer for debugging purposes
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 15 Jan 2012 04:10:37 -0700 |
parents | f5e52169f056 |
children |
line wrap: on
line source
1 package com.aurellem.capture;3 import jme3test.helloworld.HelloLoop;5 import com.jme3.app.Application;6 import com.jme3.system.AppSettings;9 /**10 * jMonkeyEngine will save the settings used in previous runs.11 * This can be especially frustrating when it saves the "Send"12 * AudioRenderer setting from running the a program that is13 * capturing audio. This resets your settings to fix the problem.14 *15 * if you get16 * "Unrecognizable audio renderer specified: Send"17 * run this program.18 *19 * @author Robert McIntyre20 *21 */23 public class FixSettings {25 public static void main(String[] ignore){26 Application app = new HelloLoop();27 AppSettings basic = new AppSettings(true);28 app.setSettings(basic);29 app.start();30 }31 }