public class OggInputStream extends InputStream
| Constructor and Description |
|---|
OggInputStream(InputStream input)
Create a new stream to decode OGG data
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
atEnd() |
int |
available() |
void |
close() |
int |
getChannels() |
int |
getLength()
Get the number of bytes on the stream
|
int |
getSampleRate() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skippublic OggInputStream(InputStream input)
input - The input stream from which to read the OGG filepublic int getLength()
public int getChannels()
public int getSampleRate()
public int available()
available in class InputStreamInputStream.available()public int read()
read in class InputStreampublic boolean atEnd()
public int read(byte[] b,
int off,
int len)
read in class InputStreampublic int read(byte[] b)
read in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamCopyright © 2021. All rights reserved.