view src/com/aurellem/capture/AurellemSystemDelegate.java @ 65:23e3df41db3c

reformatting for web
author Robert McIntyre <rlm@mit.edu>
date Sat, 11 Feb 2012 12:25:26 -0700
parents 155c70b7e6de
children
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 return new AudioSendRenderer();
16 }
17 else {
18 return super.newAudioRenderer(settings);
19 }
21 }
22 }