public class Resampler
extends java.lang.Object
| Constructor | Description |
|---|---|
Resampler() |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
reSample(byte[] sourceData,
int bitsPerSample,
int sourceRate,
int targetRate) |
Do resampling.
|
public byte[] reSample(byte[] sourceData,
int bitsPerSample,
int sourceRate,
int targetRate)
sourceData - The source data in bytesbitsPerSample - How many bits represents one sample (currently supports max. bitsPerSample=16)sourceRate - Sample rate of the source datatargetRate - Sample rate of the target dataCopyright © 2018. All Rights Reserved.