view src/com/aurellem/capture/audio/SoundProcessor.java @ 38:adeb88787645

fixed all problems for 16 bit mono output
author Robert McIntyre <rlm@mit.edu>
date Mon, 31 Oct 2011 07:43:44 -0700
parents be37291c62b8
children 784a3f4e6202
line wrap: on
line source
1 package com.aurellem.capture.audio;
3 import java.nio.ByteBuffer;
5 import javax.sound.sampled.AudioFormat;
7 public interface SoundProcessor {
9 void cleanup();
11 void process(ByteBuffer audioSamples, int numSamples, AudioFormat format);
13 }