Logo Search packages:      
Sourcecode: libjlayer-java version File versions  Download package

javazoom::jl::converter::WaveFile Class Reference

Inheritance diagram for javazoom::jl::converter::WaveFile:


List of all members.

Detailed Description

Class allowing WaveFormat Access

Definition at line 31 of file WaveFile.java.

Public Member Functions

int Backpatch (long FileOffset, byte[] Data, int NumBytes)
int Backpatch (long FileOffset, RiffChunkHeader Data, int NumBytes)
short BitsPerSample ()
int Close ()
int CurrentFileMode ()
long CurrentFilePosition ()
int Expect (String Data, int NumBytes)
short NumChannels ()
int NumSamples ()
int Open (String Filename, int NewMode)
int OpenForWrite (String Filename, WaveFile OtherWave)
int OpenForWrite (String Filename, int SamplingRate, short BitsPerSample, short NumChannels)
int Read (byte[] Data, int NumBytes)
int SamplingRate ()
 WaveFile ()
int Write (int Data, int NumBytes)
int Write (short Data, int NumBytes)
int Write (RiffChunkHeader Triff_header, int NumBytes)
int Write (short[] Data, int NumBytes)
int Write (byte[] Data, int NumBytes)
int WriteData (short[] data, int numData)

Static Public Member Functions

static int FourCC (String ChunkName)

Static Public Attributes

static final int DDC_FAILURE = 1
static final int DDC_FILE_ERROR = 3
static final int DDC_INVALID_CALL = 4
static final int DDC_INVALID_FILE = 6
static final int DDC_OUT_OF_MEMORY = 2
static final int DDC_SUCCESS = 0
static final int DDC_USER_ABORT = 5
static final int MAX_WAVE_CHANNELS = 2
static final int RFM_READ = 2
static final int RFM_UNKNOWN = 0
static final int RFM_WRITE = 1

Protected Member Functions

int Seek (long offset)

Protected Attributes

RandomAccessFile file
int fmode

Private Attributes

int num_samples = 0
RiffChunkHeader pcm_data
long pcm_data_offset = 0
WaveFormat_Chunk wave_format


class  WaveFileSample
class  WaveFormat_Chunk
class  WaveFormat_ChunkData

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index