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