Mercurial > jmeCapture
annotate src/com/aurellem/capture/audio/SoundProcessor.java @ 32:4d7ceab67ed0
closing clicky branch
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 30 Oct 2011 10:41:58 -0700 |
parents | 5249c8a9603c |
children |
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@27 | 5 import javax.sound.sampled.AudioFormat; |
rlm@27 | 6 |
rlm@9 | 7 public interface SoundProcessor { |
rlm@9 | 8 |
rlm@9 | 9 void cleanup(); |
rlm@9 | 10 |
rlm@27 | 11 void process(ByteBuffer audioSamples, AudioFormat format, int numSamples); |
rlm@9 | 12 |
rlm@9 | 13 } |