annotate src/com/aurellem/capture/FixSettings.java @ 62:f5e52169f056

updated to work with new jme changes
author Robert McIntyre <rlm@mit.edu>
date Wed, 14 Dec 2011 17:43:52 -0700
parents
children
rev   line source
rlm@62 1 package com.aurellem.capture;
rlm@62 2
rlm@62 3 import jme3test.helloworld.HelloLoop;
rlm@62 4
rlm@62 5 import com.jme3.app.Application;
rlm@62 6 import com.jme3.system.AppSettings;
rlm@62 7
rlm@62 8
rlm@62 9 /**
rlm@62 10 * jMonkeyEngine will save the settings used in previous runs.
rlm@62 11 * This can be especially frustrating when it saves the "Send"
rlm@62 12 * AudioRenderer setting from running the a program that is
rlm@62 13 * capturing audio. This resets your settings to fix the problem.
rlm@62 14 *
rlm@62 15 * if you get
rlm@62 16 * "Unrecognizable audio renderer specified: Send"
rlm@62 17 * run this program.
rlm@62 18 *
rlm@62 19 * @author Robert McIntyre
rlm@62 20 *
rlm@62 21 */
rlm@62 22
rlm@62 23 public class FixSettings {
rlm@62 24
rlm@62 25 public static void main(String[] ignore){
rlm@62 26 Application app = new HelloLoop();
rlm@62 27 AppSettings basic = new AppSettings(true);
rlm@62 28 app.setSettings(basic);
rlm@62 29 app.start();
rlm@62 30 }
rlm@62 31 }