BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
JavaSoundRenderer() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getName()
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 reset()
public int process(Buffer buffer)
public int hashCode()
hashCode
in class java.lang.Object