Package com.jcraft.jesd
Class WAVEFile
- java.lang.Object
-
- com.jcraft.jesd.WAVEFile
-
public class WAVEFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WAVEFile(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getChannels()
int
getFrameCount()
int
getFrameSize()
byte[]
getHeader()
int
getRate()
int
getSampleFormatWidth()
int
getTrackBytes()
int
readFrame(byte[] buf, int fcount)
-
-
-
Method Detail
-
getHeader
public byte[] getHeader()
-
readFrame
public int readFrame(byte[] buf, int fcount)
-
getFrameCount
public int getFrameCount()
-
getFrameSize
public int getFrameSize()
-
getChannels
public int getChannels()
-
getRate
public int getRate()
-
getSampleFormatWidth
public int getSampleFormatWidth()
-
getTrackBytes
public int getTrackBytes()
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-