javax.media.control
Interface FrameRateControl
- public interface FrameRateControl
- extends Control
This interface is a Control for specifying the parameters for frame rate.
- Since:
- JMF 2.0
getFrameRate
public float getFrameRate()
- Returns the current output frame rate. Returns -1 if it is unknown.
- Returns:
- the output output frame rate in frames per second.
setFrameRate
public float setFrameRate(float newFrameRate)
- Sets the frame rate.
Returns -1 if it is unknown or it is not controllable.
- Parameters:
newFrameRate
- the requested new frame rate- Returns:
- the actual frame rate in frames per second.
getMaxSupportedFrameRate
public float getMaxSupportedFrameRate()
- Returns the maximum output frame rate. Returns -1 if it is unknown.
- Returns:
- the maximum output frame rate in frames per second.
getPreferredFrameRate
public float getPreferredFrameRate()
- Returns the default output frame rate. Returns -1 if it is unknown.
- Returns:
- the default output frame rate in frames per second.
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.