Mercurial > jmeCapture
annotate src/com/aurellem/capture/audio/SoundProcessor.java @ 35:c969b04fa0dc
working on divergence
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 31 Oct 2011 00:14:46 -0700 |
parents | be37291c62b8 |
children | 784a3f4e6202 |
rev | line source |
---|---|
rlm@9 | 1 package com.aurellem.capture.audio; |
rlm@9 | 2 |
rlm@9 | 3 import java.nio.ByteBuffer; |
rlm@9 | 4 |
rlm@30 | 5 import javax.sound.sampled.AudioFormat; |
rlm@30 | 6 |
rlm@9 | 7 public interface SoundProcessor { |
rlm@9 | 8 |
rlm@9 | 9 void cleanup(); |
rlm@9 | 10 |
rlm@30 | 11 void process(ByteBuffer audioSamples, int numSamples, AudioFormat format); |
rlm@9 | 12 |
rlm@9 | 13 } |