public class WavHeader
extends java.lang.Object
Constructor and Description |
---|
WavHeader() |
Modifier and Type | Method and Description |
---|---|
short |
getBitsPerSample() |
short |
getBlockAlign() |
int |
getBytesPerSec() |
long |
getDataSize() |
long |
getDataStart() |
short |
getFmtTag() |
WavHeadChunk |
getHeadChunk(int iChunk)
Get a chunk from the wav header.
|
short |
getNChannels() |
int |
getNumHeadChunks()
Get the number of additional chunks in the wav header.
|
int |
getSampleRate() |
boolean |
isHeaderOk() |
boolean |
readHeader(WindowsFile windowsWavFile) |
public boolean readHeader(WindowsFile windowsWavFile)
public short getFmtTag()
public short getNChannels()
public short getBlockAlign()
public short getBitsPerSample()
public int getSampleRate()
public int getBytesPerSec()
public boolean isHeaderOk()
public long getDataStart()
public long getDataSize()
public int getNumHeadChunks()
public WavHeadChunk getHeadChunk(int iChunk)
iChunk
- chunk number