|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.sampled.spi.AudioFileReader
org.tritonus.share.sampled.file.TAudioFileReader
javazoom.spi.vorbis.sampled.file.VorbisAudioFileReader
public class VorbisAudioFileReader
This class implements the AudioFileReader class and provides an Ogg Vorbis file reader for use with the Java Sound Service Provider Interface.
Constructor Summary | |
---|---|
VorbisAudioFileReader()
|
Method Summary | |
---|---|
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.File file)
Return the AudioFileFormat from the given file. |
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.InputStream inputStream)
Return the AudioFileFormat from the given InputStream. |
protected javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.InputStream bitStream,
int mediaLength,
int totalms)
Return the AudioFileFormat from the given InputStream, length in bytes and length in milliseconds. |
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.InputStream inputStream,
long medialength)
Return the AudioFileFormat from the given InputStream and length in bytes. |
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.net.URL url)
Return the AudioFileFormat from the given URL. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.io.File file)
Return the AudioInputStream from the given File. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.io.InputStream inputStream)
Return the AudioInputStream from the given InputStream. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.io.InputStream inputStream,
int medialength,
int totalms)
Return the AudioInputStream from the given InputStream. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.net.URL url)
Return the AudioInputStream from the given URL. |
Methods inherited from class org.tritonus.share.sampled.file.TAudioFileReader |
---|
calculateFrameSize, getAudioInputStream, readIeeeExtended, readLittleEndianInt, readLittleEndianShort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VorbisAudioFileReader()
Method Detail |
---|
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.File file) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioFileFormat
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.net.URL url) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioFileFormat
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream inputStream) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioFileFormat
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream inputStream, long medialength) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioFileFormat
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
protected javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream bitStream, int mediaLength, int totalms) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream inputStream) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioInputStream
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream inputStream, int medialength, int totalms) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.File file) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioInputStream
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.net.URL url) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
getAudioInputStream
in class org.tritonus.share.sampled.file.TAudioFileReader
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |