javazoom.jl.converter
Class WaveFile
Class allowing WaveFormat Access
DDC_FAILURE , DDC_FILE_ERROR , DDC_INVALID_CALL , DDC_INVALID_FILE , DDC_OUT_OF_MEMORY , DDC_SUCCESS , DDC_USER_ABORT , RFM_READ , RFM_UNKNOWN , RFM_WRITE , file , fmode |
WaveFile() - Constructs a new WaveFile instance.
|
Backpatch , Backpatch , Close , CurrentFileMode , CurrentFilePosition , Expect , FourCC , Open , Read , Seek , Write , Write , Write , Write , Write |
MAX_WAVE_CHANNELS
public static final int MAX_WAVE_CHANNELS
WaveFile
public WaveFile()
Constructs a new WaveFile instance.
BitsPerSample
public short BitsPerSample()
NumChannels
public short NumChannels()
NumSamples
public int NumSamples()
OpenForWrite
public int OpenForWrite(String Filename,
int SamplingRate,
short BitsPerSample,
short NumChannels)
OpenForWrite
public int OpenForWrite(String Filename,
WaveFile OtherWave)
Open for write using another wave file's parameters...
SamplingRate
public int SamplingRate()
WriteData
public int WriteData(short[] data,
int numData)
Write 16-bit audio
JavaZOOM 1999-2005