rlm@44: package com.aurellem.capture; rlm@44: rlm@44: import com.aurellem.capture.audio.AudioSendRenderer; rlm@44: import com.jme3.audio.AudioRenderer; rlm@44: import com.jme3.system.AppSettings; rlm@44: import com.jme3.system.JmeDesktopSystem; rlm@44: rlm@44: public class AurellemSystemDelegate extends JmeDesktopSystem { rlm@44: rlm@49: public static final String SEND = "Send"; rlm@49: rlm@44: public AudioRenderer newAudioRenderer(AppSettings settings) { rlm@44: initialize(settings); rlm@62: if (settings.getAudioRenderer().equals(SEND)){ rlm@62: System.out.println("fuck me"); rlm@49: return new AudioSendRenderer(); rlm@49: } rlm@49: else { rlm@62: System.out.println("fuck you , I'm eating\n"); rlm@62: return super.newAudioRenderer(settings); rlm@62: } rlm@62: rlm@62: } rlm@44: }