view 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
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 is
13 * capturing audio. This resets your settings to fix the problem.
14 *
15 * if you get
16 * "Unrecognizable audio renderer specified: Send"
17 * run this program.
18 *
19 * @author Robert McIntyre
20 *
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 }