|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 PlugIn
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Renderer
public Format setInputFormat(Format format)
setInputFormat
in interface Renderer
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface Controls
public java.lang.Object[] getControls()
getControls
in interface Controls
public void open() throws ResourceUnavailableException
open
in interface PlugIn
ResourceUnavailableException
public void close()
close
in interface PlugIn
public void reset()
reset
in interface PlugIn
public void start()
start
in interface Renderer
public void stop()
stop
in interface Renderer
public int process(Buffer buffer)
process
in interface Renderer
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |