view 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
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 }