de.gulden.framework.jjack
protected class JJackAudioEvent.PortImpl extends Object implements JJackAudioPort, JJackConstants
JJackAudioPort
.
Version: 0.3
Field Summary | |
---|---|
protected FloatBuffer | buf
Buffer associated with this port. |
protected int | port
Port mode, either constant INPUT or OUTPUT . |
Constructor Summary | |
---|---|
PortImpl(int port, FloatBuffer buf)
Constructor. |
Method Summary | |
---|---|
FloatBuffer | getBuffer()
Returns the FloatBuffer that holds the audio data associated with this port.
|
INPUT
or OUTPUT
.PortImpl
with the given parameters.
Parameters: port the port mode, either constant INPUT
or OUTPUT
buf the buffer associated with this port
FloatBuffer
that holds the audio data associated with this port.
Returns: FloatBuffer
, either read-only (if this is an input port), or write-only (if this is an output port)