view src/com/aurellem/capture/AurellemSystemDelegate.java @ 54:6484a820e27d

wrote main documentation.
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Dec 2011 19:15:43 -0600
parents 121b6d7e4d3f
children f5e52169f056
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() == SEND){
15 return new AudioSendRenderer();
16 }
17 else {
18 return super.newAudioRenderer(settings);
19 }
20 }
21 }