net.java.sip.communicator.impl.neomedia.jmfext.media.renderer
Class AbstractRenderer<InputFormatT extends javax.media.Format>
java.lang.Object
net.java.sip.communicator.impl.neomedia.control.AbstractControls
net.java.sip.communicator.impl.neomedia.control.ControlsAdapter
net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.AbstractRenderer<InputFormatT>
- Type Parameters:
InputFormatT - the type of Format of the media data processed
as input by AbstractRenderer
- All Implemented Interfaces:
- javax.media.Controls, javax.media.PlugIn, javax.media.Renderer
- Direct Known Subclasses:
- JAWTRenderer, PortAudioRenderer, PulseAudioRenderer
public abstract class AbstractRenderer<InputFormatT extends javax.media.Format>
- extends ControlsAdapter
- implements javax.media.Renderer
Provides an abstract base implementation of Renderer in order to
facilitate extenders
- Author:
- Lyubomir Marinov
| Fields inherited from interface javax.media.PlugIn |
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
|
Method Summary |
void |
reset()
Resets the state of this PlugIn. |
javax.media.Format |
setInputFormat(javax.media.Format format)
Sets the Format of the media data to be rendered by this
Renderer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.media.Renderer |
getSupportedInputFormats, process, start, stop |
| Methods inherited from interface javax.media.PlugIn |
close, getName, open |
| Methods inherited from interface javax.media.Controls |
getControl, getControls |
inputFormat
protected InputFormatT extends javax.media.Format inputFormat
- The Format of the media data processed as input by this
Renderer.
AbstractRenderer
public AbstractRenderer()
reset
public void reset()
- Resets the state of this PlugIn.
- Specified by:
reset in interface javax.media.PlugIn
setInputFormat
public javax.media.Format setInputFormat(javax.media.Format format)
- Sets the Format of the media data to be rendered by this
Renderer.
- Specified by:
setInputFormat in interface javax.media.Renderer
- Parameters:
format - the Format of the media data to be rendered by
this Renderer
- Returns:
- null if the specified format is not compatible
with this Renderer; otherwise, the Format which has
been successfully set
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.