|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioProcess
The simple contract for an AudioProcess, the fundamental unit of digital signal processing, separate from the concern of control. 'Inputs' should fill the buffer, 'Processes' should process the buffer, 'Outputs' should output the buffer, Something else provides the buffer. There is intentionally no support for routing, that's a separate concern. Inputs should also call buffer.setMetaInfo() and buffer.setChannelFormat().
Field Summary | |
---|---|
static int |
AUDIO_DISCONNECT
Returned from processAudio() to indicate the buffer has not been processed so that subsequent processing may be avoided. |
static int |
AUDIO_OK
Returned from processAudio() to indicate a valid processed buffer. |
Method Summary | |
---|---|
void |
close()
Close any resources opened by this AudioProcess. |
void |
open()
Open any resources required by this AudioProcess. |
int |
processAudio(AudioBuffer buffer)
Process the supplied buffer |
Field Detail |
---|
static final int AUDIO_OK
static final int AUDIO_DISCONNECT
Method Detail |
---|
void open() throws java.lang.Exception
java.lang.Exception
int processAudio(AudioBuffer buffer)
buffer
- the AudioBuffer to process.
void close() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |