view src/com/aurellem/capture/AurellemSystemDelegate.java @ 70:a67aef438383

minor fix.
author Robert McIntyre <rlm@mit.edu>
date Wed, 29 May 2013 17:31:16 -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 }