comparison src/com/aurellem/capture/AurellemSystemDelegate.java @ 62:f5e52169f056

updated to work with new jme changes
author Robert McIntyre <rlm@mit.edu>
date Wed, 14 Dec 2011 17:43:52 -0700
parents 121b6d7e4d3f
children 155c70b7e6de
comparison
equal deleted inserted replaced
61:76581e11fb72 62:f5e52169f056
9 9
10 public static final String SEND = "Send"; 10 public static final String SEND = "Send";
11 11
12 public AudioRenderer newAudioRenderer(AppSettings settings) { 12 public AudioRenderer newAudioRenderer(AppSettings settings) {
13 initialize(settings); 13 initialize(settings);
14 if (settings.getAudioRenderer() == SEND){ 14 if (settings.getAudioRenderer().equals(SEND)){
15 System.out.println("fuck me");
15 return new AudioSendRenderer(); 16 return new AudioSendRenderer();
16 } 17 }
17 else { 18 else {
18 return super.newAudioRenderer(settings); 19 System.out.println("fuck you , I'm eating\n");
19 } 20 return super.newAudioRenderer(settings);
20 } 21 }
22
23 }
21 } 24 }