diff 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
line wrap: on
line diff
     1.1 --- a/src/com/aurellem/capture/audio/AudioSendRenderer.java	Sun Oct 30 10:06:38 2011 -0700
     1.2 +++ b/src/com/aurellem/capture/audio/AudioSendRenderer.java	Sun Oct 30 10:11:21 2011 -0700
     1.3 @@ -184,7 +184,7 @@
     1.4  			audioSend.getSamples(buffer, samplesToGet, i);
     1.5  			SoundProcessor sp = 
     1.6  			this.soundProcessorMap.get(this.listeners.get(i));
     1.7 -			if (null != sp){sp.process(buffer, samplesToGet*outFormat.getFrameSize());}
     1.8 +			if (null != sp){sp.process(buffer, samplesToGet*outFormat.getFrameSize(), outFormat);}
     1.9  		}
    1.10  		
    1.11  	}