private static class OggVorbisDecoderFactory.OggVorbisAudioInputStream
extends javax.sound.sampled.AudioInputStream
| Modifier and Type | Field and Description |
|---|---|
private OggVorbisDecoderFactory.OggStream |
os |
| Constructor and Description |
|---|
OggVorbisAudioInputStream(OggVorbisDecoderFactory.OggStream os)
Create a new player.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
javax.sound.sampled.AudioFormat |
getFormat() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int n) |
void |
reset() |
long |
skip(long n) |
private OggVorbisDecoderFactory.OggStream os
public OggVorbisAudioInputStream(OggVorbisDecoderFactory.OggStream os) throws java.io.IOException
os - The OggStream to read from.java.io.IOExceptionpublic javax.sound.sampled.AudioFormat getFormat()
getFormat in class javax.sound.sampled.AudioInputStreampublic int available()
available in class javax.sound.sampled.AudioInputStreampublic int read()
throws java.io.IOException
read in class javax.sound.sampled.AudioInputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in class javax.sound.sampled.AudioInputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int n)
throws java.io.IOException
java.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class javax.sound.sampled.AudioInputStreampublic long skip(long n)
throws java.io.IOException
skip in class javax.sound.sampled.AudioInputStreamjava.io.IOExceptionpublic void mark(int readLimit)
mark in class javax.sound.sampled.AudioInputStreampublic boolean markSupported()
markSupported in class javax.sound.sampled.AudioInputStreampublic void reset()
reset in class javax.sound.sampled.AudioInputStream