diff src/com/aurellem/capture/audio/SoundProcessor.java @ 27:5249c8a9603c

changed SoundProcessors to use AudioFormat
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Oct 2011 08:10:26 -0700
parents 5dfc9e768816
children
line wrap: on
line diff
     1.1 --- a/src/com/aurellem/capture/audio/SoundProcessor.java	Sun Oct 30 04:43:39 2011 -0700
     1.2 +++ b/src/com/aurellem/capture/audio/SoundProcessor.java	Sun Oct 30 08:10:26 2011 -0700
     1.3 @@ -2,10 +2,12 @@
     1.4  
     1.5  import java.nio.ByteBuffer;
     1.6  
     1.7 +import javax.sound.sampled.AudioFormat;
     1.8 +
     1.9  public interface SoundProcessor {
    1.10  
    1.11  	void cleanup();
    1.12  	
    1.13 -	void process(ByteBuffer audioSamples, int numSamples);
    1.14 +	void process(ByteBuffer audioSamples, AudioFormat format, int numSamples);
    1.15  	
    1.16  }