public abstract class TarsosDSPAudioFloatConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TarsosDSPAudioFormat.Encoding |
PCM_FLOAT |
Constructor and Description |
---|
TarsosDSPAudioFloatConverter() |
Modifier and Type | Method and Description |
---|---|
static TarsosDSPAudioFloatConverter |
getConverter(TarsosDSPAudioFormat format) |
TarsosDSPAudioFormat |
getFormat() |
byte[] |
toByteArray(float[] in_buff,
byte[] out_buff) |
byte[] |
toByteArray(float[] in_buff,
int in_len,
byte[] out_buff) |
byte[] |
toByteArray(float[] in_buff,
int in_len,
byte[] out_buff,
int out_offset) |
byte[] |
toByteArray(float[] in_buff,
int in_offset,
int in_len,
byte[] out_buff) |
abstract byte[] |
toByteArray(float[] in_buff,
int in_offset,
int in_len,
byte[] out_buff,
int out_offset) |
float[] |
toFloatArray(byte[] in_buff,
float[] out_buff) |
float[] |
toFloatArray(byte[] in_buff,
float[] out_buff,
int out_len) |
float[] |
toFloatArray(byte[] in_buff,
float[] out_buff,
int out_offset,
int out_len) |
float[] |
toFloatArray(byte[] in_buff,
int in_offset,
float[] out_buff,
int out_len) |
abstract float[] |
toFloatArray(byte[] in_buff,
int in_offset,
float[] out_buff,
int out_offset,
int out_len) |
public static final TarsosDSPAudioFormat.Encoding PCM_FLOAT
public static TarsosDSPAudioFloatConverter getConverter(TarsosDSPAudioFormat format)
public TarsosDSPAudioFormat getFormat()
public abstract float[] toFloatArray(byte[] in_buff, int in_offset, float[] out_buff, int out_offset, int out_len)
public float[] toFloatArray(byte[] in_buff, float[] out_buff, int out_offset, int out_len)
public float[] toFloatArray(byte[] in_buff, int in_offset, float[] out_buff, int out_len)
public float[] toFloatArray(byte[] in_buff, float[] out_buff, int out_len)
public float[] toFloatArray(byte[] in_buff, float[] out_buff)
public abstract byte[] toByteArray(float[] in_buff, int in_offset, int in_len, byte[] out_buff, int out_offset)
public byte[] toByteArray(float[] in_buff, int in_len, byte[] out_buff, int out_offset)
public byte[] toByteArray(float[] in_buff, int in_offset, int in_len, byte[] out_buff)
public byte[] toByteArray(float[] in_buff, int in_len, byte[] out_buff)
public byte[] toByteArray(float[] in_buff, byte[] out_buff)