annotate src/com/aurellem/capture/AurellemSystemDelegate.java @ 55:b05f629fc296

add contact info
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Dec 2011 19:18:38 -0600
parents 121b6d7e4d3f
children f5e52169f056
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@49 14 if (settings.getAudioRenderer() == SEND){
rlm@49 15 return new AudioSendRenderer();
rlm@49 16 }
rlm@49 17 else {
rlm@49 18 return super.newAudioRenderer(settings);
rlm@49 19 }
rlm@44 20 }
rlm@44 21 }