annotate src/com/aurellem/capture/AurellemSystemDelegate.java @ 73:877ae4b2993c tip

merge laptop changes.
author Robert McIntyre <rlm@mit.edu>
date Mon, 10 Mar 2014 18:58:08 -0400
parents 155c70b7e6de
children
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@49 15 return new AudioSendRenderer();
rlm@49 16 }
rlm@49 17 else {
rlm@62 18 return super.newAudioRenderer(settings);
rlm@62 19 }
rlm@62 20
rlm@62 21 }
rlm@44 22 }