|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.gulden.framework.jjack.JJackAudioEvent.ChannelImpl
protected class JJackAudioEvent.ChannelImpl
Inner class implementing interface JJackAudioChannel
.
Field Summary | |
---|---|
protected JJackAudioPort |
in
Input buffer. |
protected int |
index
Index number of this channel. |
protected JJackAudioPort |
out
Output buffer. |
Fields inherited from interface de.gulden.framework.jjack.JJackConstants |
---|
INPUT, LEFT, OUTPUT, RIGHT |
Constructor Summary | |
---|---|
JJackAudioEvent.ChannelImpl(int index,
java.nio.FloatBuffer in,
java.nio.FloatBuffer out)
Constructor. |
Method Summary | |
---|---|
int |
getIndex()
Returns the index number of this channel. |
JJackAudioPort |
getPort(int port)
Returns the input or output port of this channel. |
java.nio.FloatBuffer |
getPortBuffer(int port)
Returns the input or output buffer of this channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int index
protected JJackAudioPort in
protected JJackAudioPort out
Constructor Detail |
---|
JJackAudioEvent.ChannelImpl(int index, java.nio.FloatBuffer in, java.nio.FloatBuffer out)
ChannelImpl
with the given parameters.
index
- index number of this channelin
- input bufferout
- output bufferMethod Detail |
---|
public JJackAudioPort getPort(int port)
getPort
in interface JJackAudioChannel
port
- either constant INPUT
or OUTPUT
public java.nio.FloatBuffer getPortBuffer(int port)
getPort(port).getBuffer()
.
getPortBuffer
in interface JJackAudioChannel
port
- either constant INPUT
or OUTPUT
public int getIndex()
LEFT
(=0) or RIGHT
(=1).
getIndex
in interface JJackAudioChannel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |