Package com.jcraft.jorbis
Class VorbisFile
java.lang.Object
com.jcraft.jorbis.VorbisFile
public class VorbisFile
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description VorbisFile(java.io.InputStream is, byte[] initial, int ibytes)
VorbisFile(java.lang.String file)
-
Method Summary
Modifier and Type Method Description int
bitrate(int i)
int
bitrate_instant()
void
close()
Comment[]
getComment()
Comment
getComment(int link)
Info[]
getInfo()
Info
getInfo(int link)
int
pcm_seek(long pos)
long
pcm_tell()
long
pcm_total(int i)
int
raw_seek(int pos)
long
raw_tell()
long
raw_total(int i)
boolean
seekable()
int
serialnumber(int i)
int
streams()
float
time_tell()
float
time_total(int i)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VorbisFile
- Throws:
JOrbisException
-
VorbisFile
- Throws:
JOrbisException
-
-
Method Details
-
bitrate
public int bitrate(int i) -
bitrate_instant
public int bitrate_instant() -
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
getComment
-
getComment
-
getInfo
-
getInfo
-
pcm_seek
public int pcm_seek(long pos) -
pcm_tell
public long pcm_tell() -
pcm_total
public long pcm_total(int i) -
raw_seek
public int raw_seek(int pos) -
raw_tell
public long raw_tell() -
raw_total
public long raw_total(int i) -
seekable
public boolean seekable() -
serialnumber
public int serialnumber(int i) -
streams
public int streams() -
time_tell
public float time_tell() -
time_total
public float time_total(int i)
-