public class StereofyAudioInputStream extends AudioInputStream
StereofyConversionProvider
format, frameLength, framePos, frameSize
Constructor and Description |
---|
StereofyAudioInputStream(AudioInputStream sourceStream,
AudioFormat audioFormat) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
mark(int readlimit)
Marks the current position in this audio input stream.
|
int |
read(byte[] b,
int off,
int len) |
void |
reset()
Repositions this audio input stream to the position it had at the time its
mark method was last invoked. |
long |
skip(long n) |
close, getFormat, getFrameLength, markSupported, read, read
public StereofyAudioInputStream(AudioInputStream sourceStream, AudioFormat audioFormat)
public int read(byte[] b, int off, int len) throws IOException
read
in class AudioInputStream
IOException
public void mark(int readlimit)
mark
in class AudioInputStream
readlimit
- the maximum number of bytes that can be read before
the mark position becomes invalid.reset()
,
AudioInputStream.markSupported()
public void reset() throws IOException
mark
method was last invoked.reset
in class AudioInputStream
IOException
- if an input or output error occurs.mark(int)
,
AudioInputStream.markSupported()
public int available() throws IOException
available
in class AudioInputStream
IOException
public long skip(long n) throws IOException
skip
in class AudioInputStream
IOException
Copyright © 2011–2018 tagtraum industries incorporated. All rights reserved.