|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.renderer.audio.PortAudioRenderer
public class PortAudioRenderer
Portaudio renderer.
| Field Summary | |
|---|---|
(package private) boolean |
started
|
static javax.media.Format[] |
supportedInputFormats
The supported input formats. |
| Fields inherited from interface javax.media.PlugIn |
|---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
| Constructor Summary | |
|---|---|
PortAudioRenderer()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the plug-in. |
Object |
getControl(String controlType)
Return required control from the Control[] array if exists. |
Object[] |
getControls()
Gives control information to the caller |
String |
getName()
Returns the name of the pluging. |
javax.media.Format[] |
getSupportedInputFormats()
Lists the input formats supported by this Renderer. |
void |
open()
Opens the device and stream that we will use to render data. |
int |
process(javax.media.Buffer inputBuffer)
Processes the data and renders it to the output device represented by this Renderer. |
void |
reset()
Resets the state of the plug-in. |
static void |
setDevice(javax.media.MediaLocator locator)
Used to set the device index used by the renderer common for all instances of it. |
javax.media.Format |
setInputFormat(javax.media.Format format)
Sets the Format of the input data. |
void |
start()
Initiates the rendering process. |
void |
stop()
Halts the rendering process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static javax.media.Format[] supportedInputFormats
boolean started
| Constructor Detail |
|---|
public PortAudioRenderer()
| Method Detail |
|---|
public javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats in interface javax.media.Rendererpublic javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat in interface javax.media.Rendererformat - the format to set.
public void start()
start in interface javax.media.Rendererpublic void stop()
stop in interface javax.media.Rendererpublic int process(javax.media.Buffer inputBuffer)
process in interface javax.media.RendererinputBuffer - the input data.
public String getName()
getName in interface javax.media.PlugIn
public void open()
throws javax.media.ResourceUnavailableException
open in interface javax.media.PlugInjavax.media.ResourceUnavailableException - If required resources cannot
be opened/created.public void close()
close in interface javax.media.PlugInpublic void reset()
reset in interface javax.media.PlugInpublic Object[] getControls()
getControls in interface javax.media.Controlspublic Object getControl(String controlType)
getControl in interface javax.media.ControlscontrolType - the control we are interested in.
public static void setDevice(javax.media.MediaLocator locator)
locator - the locator containing the device index.
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||