Package com.jme3.audio.plugins
Class UncachedOggStream
java.lang.Object
com.jme3.audio.plugins.UncachedOggStream
- All Implemented Interfaces:
de.jarnbjo.ogg.PhysicalOggStream
Single-threaded physical ogg stream. Decodes audio in the same thread
that reads.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
de.jarnbjo.ogg.OggPage
Collection<de.jarnbjo.ogg.LogicalOggStream>
de.jarnbjo.ogg.OggPage
getOggPage
(int index) boolean
isOpen()
boolean
void
setTime
(long granulePosition)
-
Constructor Details
-
UncachedOggStream
- Throws:
de.jarnbjo.ogg.OggFormatException
IOException
-
-
Method Details
-
getLastOggPage
public de.jarnbjo.ogg.OggPage getLastOggPage() -
getOggPage
- Specified by:
getOggPage
in interfacede.jarnbjo.ogg.PhysicalOggStream
- Throws:
IOException
-
getLogicalStreams
- Specified by:
getLogicalStreams
in interfacede.jarnbjo.ogg.PhysicalOggStream
-
setTime
- Specified by:
setTime
in interfacede.jarnbjo.ogg.PhysicalOggStream
- Throws:
IOException
-
isSeekable
public boolean isSeekable()- Specified by:
isSeekable
in interfacede.jarnbjo.ogg.PhysicalOggStream
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in interfacede.jarnbjo.ogg.PhysicalOggStream
-
close
- Specified by:
close
in interfacede.jarnbjo.ogg.PhysicalOggStream
- Throws:
IOException
-