comparison src/com/aurellem/capture/audio/AudioSendRenderer.java @ 30:be37291c62b8

propagated AudioFormat to other classes.
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Oct 2011 10:11:21 -0700
parents 9f58273090df
children 13d354e1184b
comparison
equal deleted inserted replaced
29:9f58273090df 30:be37291c62b8
182 for (int i = 0; i < this.listeners.size(); i++){ 182 for (int i = 0; i < this.listeners.size(); i++){
183 buffer.clear(); 183 buffer.clear();
184 audioSend.getSamples(buffer, samplesToGet, i); 184 audioSend.getSamples(buffer, samplesToGet, i);
185 SoundProcessor sp = 185 SoundProcessor sp =
186 this.soundProcessorMap.get(this.listeners.get(i)); 186 this.soundProcessorMap.get(this.listeners.get(i));
187 if (null != sp){sp.process(buffer, samplesToGet*outFormat.getFrameSize());} 187 if (null != sp){sp.process(buffer, samplesToGet*outFormat.getFrameSize(), outFormat);}
188 } 188 }
189 189
190 } 190 }
191 191
192 public void update(float tpf){ 192 public void update(float tpf){