Mercurial > jmeCapture
view src/com/aurellem/capture/FixSettings.java @ 65:23e3df41db3c
reformatting for web
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 11 Feb 2012 12:25:26 -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 }