Mercurial > jmeCapture
annotate src/com/aurellem/capture/audio/SoundProcessor.java @ 31:b67ffa8aa0b9
fixed click problem
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 30 Oct 2011 10:17:09 -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 } |