public class Resample
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.nio.ByteOrder |
ORDER |
static int |
PIPE_SIZE |
static int |
SHORT_BYTES |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
Resample(int sampleRate,
int channels,
int hz) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
end() |
java.nio.ByteBuffer |
read() |
void |
write(short[] buf,
int pos,
int len) |
public static final java.lang.String TAG
public static final java.nio.ByteOrder ORDER
public static final int SHORT_BYTES
public static final int PIPE_SIZE