com.jcraft.jesd

Class WAVEFile


public class WAVEFile
extends java.lang.Object

Constructor Summary

WAVEFile(String name)

Method Summary

void
close()
int
getChannels()
int
getFrameCount()
int
getFrameSize()
byte[]
getHeader()
int
getRate()
int
getSampleFormatWidth()
int
getTrackBytes()
int
readFrame(byte[] buf, int fcount)

Constructor Details

WAVEFile

public WAVEFile(String name)
            throws IOException

Method Details

close

public void close()
            throws IOException

getChannels

public int getChannels()

getFrameCount

public int getFrameCount()

getFrameSize

public int getFrameSize()

getHeader

public byte[] getHeader()

getRate

public int getRate()

getSampleFormatWidth

public int getSampleFormatWidth()

getTrackBytes

public int getTrackBytes()

readFrame

public int readFrame(byte[] buf,
                     int fcount)