Mercurial > jmeCapture
diff src/com/aurellem/capture/audio/SoundProcessor.java @ 30:be37291c62b8
propagated AudioFormat to other classes.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 30 Oct 2011 10:11:21 -0700 |
parents | 5dfc9e768816 |
children | 784a3f4e6202 |
line wrap: on
line diff
1.1 --- a/src/com/aurellem/capture/audio/SoundProcessor.java Sun Oct 30 10:06:38 2011 -0700 1.2 +++ b/src/com/aurellem/capture/audio/SoundProcessor.java Sun Oct 30 10:11:21 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, int numSamples, AudioFormat format); 1.15 1.16 }