public static class WavHeader.FmtChunk extends Object
Modifier and Type | Field and Description |
---|---|
short |
audioFormat |
short |
bitsPerSample |
short |
blockAlign |
int |
byteRate |
short |
numChannels |
int |
sampleRate |
Constructor and Description |
---|
FmtChunk(short audioFormat,
short numChannels,
int sampleRate,
int byteRate,
short blockAlign,
short bitsPerSample) |
Modifier and Type | Method and Description |
---|---|
static WavHeader.FmtChunk |
get(ByteBuffer bb) |
void |
put(ByteBuffer bb) |
int |
size() |
public short audioFormat
public short numChannels
public int sampleRate
public int byteRate
public short blockAlign
public short bitsPerSample
public FmtChunk(short audioFormat, short numChannels, int sampleRate, int byteRate, short blockAlign, short bitsPerSample)
public static WavHeader.FmtChunk get(ByteBuffer bb) throws IOException
IOException
public void put(ByteBuffer bb) throws IOException
IOException
public int size()
Copyright © 2019. All rights reserved.