private static class LPCResult.Wave extends Object
Modifier and Type | Field and Description |
---|---|
private AudioFormat |
audioFormat |
static boolean |
DEFAULT_BIG_ENDIAN
A boolean indicating that the Wave samples are represented as
little endian, i.e., this value is false.
|
static int |
DEFAULT_SAMPLE_SIZE_IN_BITS
The default sample size of the Wave, which is 16.
|
static boolean |
DEFAULT_SIGNED
A boolean indicating that the Wave is signed, i.e.,
this value is true.
|
private byte[] |
samples |
Constructor and Description |
---|
Wave(AudioFormat audioFormat,
byte[] samples)
Constructs a Wave with the given audio format and wave samples.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(Writer writer)
Dumps the wave out to the given stream
|
public static final int DEFAULT_SAMPLE_SIZE_IN_BITS
public static final boolean DEFAULT_SIGNED
public static final boolean DEFAULT_BIG_ENDIAN
private byte[] samples
private AudioFormat audioFormat
Wave(AudioFormat audioFormat, byte[] samples)
audioFormat
- the audio format of the wavesamples
- the wave samplesWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses