FileDocCategorySizeDatePackage
FrameRateControl.javaAPI DocJMF 2.1.1e1197Mon May 12 12:20:36 BST 2003javax.media.control

FrameRateControl

public interface FrameRateControl implements Control
This interface is a Control for specifying the parameters for frame rate.
since
JMF 2.0

Fields Summary
Constructors Summary
Methods Summary
public floatgetFrameRate()
Returns the current output frame rate. Returns -1 if it is unknown.

return
the output output frame rate in frames per second.

public floatgetMaxSupportedFrameRate()
Returns the maximum output frame rate. Returns -1 if it is unknown.

return
the maximum output frame rate in frames per second.

public floatgetPreferredFrameRate()
Returns the default output frame rate. Returns -1 if it is unknown.

return
the default output frame rate in frames per second.

public floatsetFrameRate(float newFrameRate)
Sets the frame rate. Returns -1 if it is unknown or it is not controllable.

param
newFrameRate the requested new frame rate
return
the actual frame rate in frames per second.