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

javazoom::jl::decoder::SampleBuffer::SampleBuffer ( int  sample_frequency,
int  number_of_channels 
) [inline]

Constructor

Definition at line 42 of file SampleBuffer.java.

  {
      buffer = new short[OBUFFERSIZE];
      bufferp = new int[MAXCHANNELS];
      channels = number_of_channels;
      frequency = sample_frequency;
      
      for (int i = 0; i < number_of_channels; ++i) 
            bufferp[i] = (short)i;
      
  }


Generated by  Doxygen 1.6.0   Back to index