Mercurial > jmeCapture
annotate src/com/aurellem/capture/audio/SoundProcessor.java @ 27:5249c8a9603c
changed SoundProcessors to use AudioFormat
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 30 Oct 2011 08:10:26 -0700 |
parents | 5dfc9e768816 |
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 } |