public class NativeVorbisFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
bitRate |
int |
channels |
float |
duration |
int |
fd |
java.nio.ByteBuffer |
ovf |
int |
sampleRate |
boolean |
seekable |
int |
totalBytes |
Constructor and Description |
---|
NativeVorbisFile(int fd,
long off,
long len) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
nativeInit() |
int |
read(byte[] buf,
int off,
int len) |
void |
readFully(java.nio.ByteBuffer out) |
void |
seekTime(double time) |
public int fd
public java.nio.ByteBuffer ovf
public boolean seekable
public int channels
public int sampleRate
public int bitRate
public int totalBytes
public float duration
public NativeVorbisFile(int fd, long off, long len) throws java.io.IOException
java.io.IOException
public void seekTime(double time) throws java.io.IOException
java.io.IOException
public int read(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void readFully(java.nio.ByteBuffer out) throws java.io.IOException
java.io.IOException
public void close()
public static void nativeInit()