Mercurial > jmeCapture
annotate src/com/aurellem/capture/AurellemSystemDelegate.java @ 66:0d7347b916ae
removed unnessary build dependency
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 28 Feb 2012 11:10:14 -0600 |
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 } |