|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.toot.audio.server.AbstractAudioServerDecorator
public abstract class AbstractAudioServerDecorator
This class is provided so that classes that want to decorate some AudioServer methods don't have to delegate all methods to the decorated AudioServer.
Field Summary |
---|
Fields inherited from interface uk.org.toot.audio.server.AudioServer |
---|
THREAD_NAME |
Constructor Summary | |
---|---|
AbstractAudioServerDecorator(AudioServer server)
|
Method Summary | |
---|---|
void |
closeAudioInput(IOAudioProcess input)
|
void |
closeAudioOutput(IOAudioProcess output)
|
AudioBuffer |
createAudioBuffer(java.lang.String name)
|
java.util.List<java.lang.String> |
getAvailableInputNames()
|
java.util.List<java.lang.String> |
getAvailableOutputNames()
|
int |
getInputLatencyFrames()
|
float |
getLoad()
|
int |
getOutputLatencyFrames()
|
float |
getSampleRate()
|
int |
getTotalLatencyFrames()
|
boolean |
isRunning()
Returns whether running. |
IOAudioProcess |
openAudioInput(java.lang.String name,
java.lang.String label)
Returns an AudioProcess backed by a hardware audio input line represented by 'name' and labelled 'label'. |
IOAudioProcess |
openAudioOutput(java.lang.String name,
java.lang.String label)
Returns an AudioProcess backed by a hardware audio output line represented by 'name' and labelled 'label'. |
void |
setClient(AudioClient client)
Sets the single AudioClient. |
void |
start()
Requests that the server starts if possible, otherwise actual start will be deferred until it is possible. |
void |
stop()
Stops the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAudioServerDecorator(AudioServer server)
Method Detail |
---|
public IOAudioProcess openAudioInput(java.lang.String name, java.lang.String label) throws java.lang.Exception
AudioServer
openAudioInput
in interface AudioServer
java.lang.Exception
public IOAudioProcess openAudioOutput(java.lang.String name, java.lang.String label) throws java.lang.Exception
AudioServer
openAudioOutput
in interface AudioServer
java.lang.Exception
public void closeAudioInput(IOAudioProcess input)
closeAudioInput
in interface AudioServer
public void closeAudioOutput(IOAudioProcess output)
closeAudioOutput
in interface AudioServer
public java.util.List<java.lang.String> getAvailableInputNames()
getAvailableInputNames
in interface AudioServer
public java.util.List<java.lang.String> getAvailableOutputNames()
getAvailableOutputNames
in interface AudioServer
public AudioBuffer createAudioBuffer(java.lang.String name)
createAudioBuffer
in interface AudioServer
public int getInputLatencyFrames()
getInputLatencyFrames
in interface AudioServer
public int getOutputLatencyFrames()
getOutputLatencyFrames
in interface AudioServer
public int getTotalLatencyFrames()
getTotalLatencyFrames
in interface AudioServer
public boolean isRunning()
AudioServer
isRunning
in interface AudioServer
public void setClient(AudioClient client)
AudioServer
setClient
in interface AudioServer
public void start()
AudioServer
start
in interface AudioServer
public void stop()
AudioServer
stop
in interface AudioServer
public float getSampleRate()
getSampleRate
in interface AudioServer
public float getLoad()
getLoad
in interface AudioServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |