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