public class Sample
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
int |
panning |
boolean |
set_panning |
int |
transpose |
int |
volume |
Constructor and Description |
---|
Sample() |
Modifier and Type | Method and Description |
---|---|
boolean |
has_finished(int sample_idx) |
void |
resample_linear(int sample_idx,
int sample_frac,
int step,
int left_gain,
int right_gain,
int[] mix_buffer,
int frame_offset,
int frames) |
void |
resample_nearest(int sample_idx,
int sample_frac,
int step,
int left_gain,
int right_gain,
int[] mix_buffer,
int frame_offset,
int frames) |
void |
resample_sinc(int sample_idx,
int sample_frac,
int step,
int left_gain,
int right_gain,
int[] mix_buffer,
int frame_offset,
int frames) |
void |
set_sample_data(short[] data,
int loop_start,
int loop_length,
boolean ping_pong) |
public java.lang.String name
public boolean set_panning
public int volume
public int panning
public int transpose
public void set_sample_data(short[] data, int loop_start, int loop_length, boolean ping_pong)
public void resample_nearest(int sample_idx, int sample_frac, int step, int left_gain, int right_gain, int[] mix_buffer, int frame_offset, int frames)
public void resample_linear(int sample_idx, int sample_frac, int step, int left_gain, int right_gain, int[] mix_buffer, int frame_offset, int frames)
public void resample_sinc(int sample_idx, int sample_frac, int step, int left_gain, int right_gain, int[] mix_buffer, int frame_offset, int frames)
public boolean has_finished(int sample_idx)