javax.media.Track Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The newest version!
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc.
*
* Complete.
*
* @author Ken Larson
*
*/
public interface Track extends Duration
{
public static int FRAME_UNKNOWN = Integer.MAX_VALUE;
public static Time TIME_UNKNOWN = Time.TIME_UNKNOWN;
public Format getFormat();
public Time getStartTime();
public boolean isEnabled();
public Time mapFrameToTime(int frameNumber);
public int mapTimeToFrame(Time t);
/**
* TODO: the API is not clear as to what readFrame should do in the case of
* an error, like an IOException.
*/
public void readFrame(Buffer buffer);
public void setEnabled(boolean t);
public void setTrackListener(TrackListener listener);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy