com.sun.media.sound
Class SoftMixingDataLine.AudioFloatInputStreamResampler

java.lang.Object
  extended by com.sun.media.sound.AudioFloatInputStream
      extended by com.sun.media.sound.SoftMixingDataLine.AudioFloatInputStreamResampler
Enclosing class:
SoftMixingDataLine

protected static class SoftMixingDataLine.AudioFloatInputStreamResampler
extends AudioFloatInputStream


Constructor Summary
SoftMixingDataLine.AudioFloatInputStreamResampler(AudioFloatInputStream ais, javax.sound.sampled.AudioFormat format)
           
 
Method Summary
 int available()
           
 void close()
           
 javax.sound.sampled.AudioFormat getFormat()
           
 long getFrameLength()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read(float[] b, int off, int len)
           
 void reset()
           
 long skip(long len)
           
 
Methods inherited from class com.sun.media.sound.AudioFloatInputStream
getInputStream, getInputStream, getInputStream, getInputStream, getInputStream, read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftMixingDataLine.AudioFloatInputStreamResampler

public SoftMixingDataLine.AudioFloatInputStreamResampler(AudioFloatInputStream ais,
                                                         javax.sound.sampled.AudioFormat format)
Method Detail

available

public int available()
              throws java.io.IOException
Specified by:
available in class AudioFloatInputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in class AudioFloatInputStream
Throws:
java.io.IOException

getFormat

public javax.sound.sampled.AudioFormat getFormat()
Specified by:
getFormat in class AudioFloatInputStream

getFrameLength

public long getFrameLength()
Specified by:
getFrameLength in class AudioFloatInputStream

mark

public void mark(int readlimit)
Specified by:
mark in class AudioFloatInputStream

markSupported

public boolean markSupported()
Specified by:
markSupported in class AudioFloatInputStream

read

public int read(float[] b,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in class AudioFloatInputStream
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Specified by:
reset in class AudioFloatInputStream
Throws:
java.io.IOException

skip

public long skip(long len)
          throws java.io.IOException
Specified by:
skip in class AudioFloatInputStream
Throws:
java.io.IOException