annotate src/com/aurellem/capture/AurellemSystemDelegate.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 155c70b7e6de
rev   line source
rlm@44 1 package com.aurellem.capture;
rlm@44 2
rlm@44 3 import com.aurellem.capture.audio.AudioSendRenderer;
rlm@44 4 import com.jme3.audio.AudioRenderer;
rlm@44 5 import com.jme3.system.AppSettings;
rlm@44 6 import com.jme3.system.JmeDesktopSystem;
rlm@44 7
rlm@44 8 public class AurellemSystemDelegate extends JmeDesktopSystem {
rlm@44 9
rlm@49 10 public static final String SEND = "Send";
rlm@49 11
rlm@44 12 public AudioRenderer newAudioRenderer(AppSettings settings) {
rlm@44 13 initialize(settings);
rlm@62 14 if (settings.getAudioRenderer().equals(SEND)){
rlm@62 15 System.out.println("fuck me");
rlm@49 16 return new AudioSendRenderer();
rlm@49 17 }
rlm@49 18 else {
rlm@62 19 System.out.println("fuck you , I'm eating\n");
rlm@62 20 return super.newAudioRenderer(settings);
rlm@62 21 }
rlm@62 22
rlm@62 23 }
rlm@44 24 }