de.gulden.framework.jjack
protected class JJackAudioEvent.ChannelImpl extends Object implements JJackAudioChannel, JJackConstants
JJackAudioChannel
.
Version: 0.3
Field Summary | |
---|---|
protected JJackAudioPort | in
Input buffer. |
protected int | index
Index number of this channel. |
protected JJackAudioPort | out
Output buffer. |
Constructor Summary | |
---|---|
ChannelImpl(int index, FloatBuffer in, 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.
|
FloatBuffer | getPortBuffer(int port)
Returns the input or output buffer of this channel.
|
ChannelImpl
with the given parameters.
Parameters: index index number of this channel in input buffer out output buffer
LEFT
(=0) or RIGHT
(=1).
Returns: the index number of the channel
Parameters: port either constant INPUT
or OUTPUT
Returns: the input or output port, as requested
getPort(port).getBuffer()
.
Parameters: port either constant INPUT
or OUTPUT
Returns: the audio data buffer