public class JavaSoundParser extends AbstractDemultiplexer
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
DURATION_UNBOUNDED, DURATION_UNKNOWN
Constructor and Description |
---|
JavaSoundParser() |
Modifier and Type | Method and Description |
---|---|
ContentDescriptor[] |
getSupportedInputContentDescriptors() |
Track[] |
getTracks() |
boolean |
isPositionable() |
boolean |
isRandomAccess() |
void |
open() |
Time |
setPosition(Time where,
int rounding) |
void |
setSource(DataSource source) |
void |
start() |
getDuration, getMediaTime, stop
close, getName, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public ContentDescriptor[] getSupportedInputContentDescriptors()
getSupportedInputContentDescriptors
in interface Demultiplexer
getSupportedInputContentDescriptors
in class AbstractDemultiplexer
public Track[] getTracks() throws java.io.IOException, BadHeaderException
getTracks
in interface Demultiplexer
getTracks
in class AbstractDemultiplexer
java.io.IOException
BadHeaderException
public void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
setSource
in interface MediaHandler
setSource
in class AbstractDemultiplexer
java.io.IOException
IncompatibleSourceException
public void open() throws ResourceUnavailableException
open
in interface PlugIn
open
in class AbstractPlugIn
ResourceUnavailableException
public void start() throws java.io.IOException
start
in interface Demultiplexer
start
in class AbstractDemultiplexer
java.io.IOException
public boolean isPositionable()
isPositionable
in interface Demultiplexer
isPositionable
in class AbstractDemultiplexer
public boolean isRandomAccess()
isRandomAccess
in interface Demultiplexer
isRandomAccess
in class AbstractDemultiplexer
public Time setPosition(Time where, int rounding)
setPosition
in interface Demultiplexer
setPosition
in class AbstractDemultiplexer