Mercurial > jmeCapture
comparison 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 |
comparison
equal
deleted
inserted
replaced
26:95648b0c12bc | 27:5249c8a9603c |
---|---|
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, AudioFormat format, int numSamples); |
10 | 12 |
11 } | 13 } |