javazoom.jlme.decoder
Class SampleBuffer

java.lang.Object
  |
  +--javazoom.jlme.decoder.SampleBuffer

public class SampleBuffer
extends java.lang.Object


Field Summary
static int MAXCHANNELS
           
static int OBUFFERSIZE
           
 
Constructor Summary
SampleBuffer(int sample_frequency, int number_of_channels)
           
 
Method Summary
 void clear()
           
 byte[] getBuffer()
           
 int getBufferChannelCount()
           
 int getBufferIndex(int channel)
           
 int getChannelCount()
           
 int getSampleFrequency()
           
 void setBufferIndex(int channel, int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBUFFERSIZE

public static final int OBUFFERSIZE

MAXCHANNELS

public static final int MAXCHANNELS
Constructor Detail

SampleBuffer

public SampleBuffer(int sample_frequency,
                    int number_of_channels)
Method Detail

getBufferIndex

public final int getBufferIndex(int channel)

setBufferIndex

public final void setBufferIndex(int channel,
                                 int index)

getBufferChannelCount

public final int getBufferChannelCount()

getChannelCount

public int getChannelCount()

getSampleFrequency

public int getSampleFrequency()

getBuffer

public byte[] getBuffer()

size

public int size()

clear

public void clear()


JavaZOOM 1999-2005