com.jcraft.jesd
Class WAVEFile
java.lang.Object
com.jcraft.jesd.WAVEFile
public class WAVEFile
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAVEFile
public WAVEFile(String name)
throws IOException
- Throws:
IOException
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 IOException
- Throws:
IOException