comparison src/com/aurellem/capture/audio/AudioSendRenderer.java @ 34:13d354e1184b

trying to track down very strange bug where a listener and aux listener at the same location hear different things
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Oct 2011 14:58:01 -0700
parents be37291c62b8
children 2a525e937d86
comparison
equal deleted inserted replaced
33:c4bfbf5d090e 34:13d354e1184b
69 public void addListener(Listener l) { 69 public void addListener(Listener l) {
70 try {this.latch.await();} 70 try {this.latch.await();}
71 catch (InterruptedException e) {e.printStackTrace();} 71 catch (InterruptedException e) {e.printStackTrace();}
72 audioSend.addListener(); 72 audioSend.addListener();
73 this.listeners.add(l); 73 this.listeners.add(l);
74 l.setRenderer(this);
74 } 75 }
75 76
76 /** 77 /**
77 * Whenever new data is rendered in the perspective of this listener, 78 * Whenever new data is rendered in the perspective of this listener,
78 * this Renderer will send that data to the SoundProcessor of your choosing. 79 * this Renderer will send that data to the SoundProcessor of your choosing.