# HG changeset patch # User Robert McIntyre # Date 1322938025 21600 # Node ID fc71e797f4fa0a65cd17c3da49b6ecd4b4585ad5 # Parent 5cd9e6c65a937b59652ceacae1d0135bc2be14dd correct typo in file name diff -r 5cd9e6c65a93 -r fc71e797f4fa src/com/aurellem/capture/examples/HelloAudioRecording.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/com/aurellem/capture/examples/HelloAudioRecording.java Sat Dec 03 12:47:05 2011 -0600 @@ -0,0 +1,23 @@ +package com.aurellem.capture.examples; + +import java.io.File; +import java.io.IOException; + +import jme3test.helloworld.HelloAudio; + +import com.aurellem.capture.Capture; +import com.aurellem.capture.IsoTimer; +import com.jme3.app.Application; + +public class HelloAudioRecording { + + public static void main(String[] ignore) throws IOException{ + Application app = new HelloAudio(); + File audio = File.createTempFile("JME-simple-audio", ".wav"); + app.setTimer(new IsoTimer(60)); + Capture.captureAudio(app, audio); + app.start(); + System.out.println(audio.getCanonicalPath()); + } + +} diff -r 5cd9e6c65a93 -r fc71e797f4fa src/com/aurellem/capture/examples/HeloAudioRecording.java --- a/src/com/aurellem/capture/examples/HeloAudioRecording.java Sat Dec 03 12:44:23 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -package com.aurellem.capture.examples; - -import java.io.File; -import java.io.IOException; - -import jme3test.helloworld.HelloAudio; - -import com.aurellem.capture.Capture; -import com.aurellem.capture.IsoTimer; -import com.jme3.app.Application; - -public class HeloAudioRecording { - - public static void main(String[] ignore) throws IOException{ - Application app = new HelloAudio(); - File audio = File.createTempFile("JME-simple-audio", ".wav"); - app.setTimer(new IsoTimer(60)); - Capture.captureAudio(app, audio); - app.start(); - System.out.println(audio.getCanonicalPath()); - - } - -}