|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.renderer.audio.JavaSoundRenderer
public class JavaSoundRenderer
Audio Renderer which uses JavaSound.
| Field Summary |
|---|
| 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 | |
|---|---|
JavaSoundRenderer()
|
|
| Method Summary | |
|---|---|
void |
close()
Free the data line. |
java.lang.Object |
getControl(java.lang.String controlType)
|
java.lang.Object[] |
getControls()
|
java.lang.String |
getName()
Returns the name of the pluging. |
Format[] |
getSupportedInputFormats()
Set supported input formats for the default or selected Mixer. |
int |
hashCode()
|
void |
open()
Open the plugin. |
int |
process(Buffer buffer)
Write the buffer to the SourceDataLine. |
void |
reset()
Reset the state of the plugin. |
Format |
setInputFormat(Format format)
|
void |
start()
Start the rendering process |
void |
stop()
Stop the rendering process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaSoundRenderer()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface PlugInpublic Format[] getSupportedInputFormats()
getSupportedInputFormats in interface Rendererpublic Format setInputFormat(Format format)
setInputFormat in interface Rendererpublic java.lang.Object getControl(java.lang.String controlType)
getControl in interface Controlspublic java.lang.Object[] getControls()
getControls in interface Controls
public void open()
throws ResourceUnavailableException
open in interface PlugInResourceUnavailableExceptionpublic void close()
close in interface PlugInpublic void reset()
reset in interface PlugInpublic void start()
start in interface Rendererpublic void stop()
stop in interface Rendererpublic int process(Buffer buffer)
process in interface Rendererpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||