Mercurial > jmeCapture
comparison 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 |
comparison
equal
deleted
inserted
replaced
29:9f58273090df | 30:be37291c62b8 |
---|---|
1 package com.aurellem.capture.audio; | 1 package com.aurellem.capture.audio; |
2 | 2 |
3 import java.nio.ByteBuffer; | 3 import java.nio.ByteBuffer; |
4 | |
5 import javax.sound.sampled.AudioFormat; | |
4 | 6 |
5 public interface SoundProcessor { | 7 public interface SoundProcessor { |
6 | 8 |
7 void cleanup(); | 9 void cleanup(); |
8 | 10 |
9 void process(ByteBuffer audioSamples, int numSamples); | 11 void process(ByteBuffer audioSamples, int numSamples, AudioFormat format); |
10 | 12 |
11 } | 13 } |