|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jack4j.JackPort net.sf.jack4j.JackLocalPort net.sf.jack4j.JackLocalMidiPort
public class JackLocalMidiPort
MIDI port registered by JackClient
.
Method Summary | |
---|---|
JackMidiPortBuffer |
initializeMidiBuffer(int bufferSize)
Returns instance of JackMidiPortBuffer for this port. |
Methods inherited from class net.sf.jack4j.JackLocalPort |
---|
connected, connectedTo, getBufferPointer, getByteBuffer, getClient, getConnections, getPortAliases, setPortAlias, setPortName, tie, unsetPortAlias, untie |
Methods inherited from class net.sf.jack4j.JackPort |
---|
ensureMonitor, getLatency, getPortFlags, getPortFlagSet, getPortHandle, getPortName, getPortShortName, getPortType, isInput, isMonitorable, isOutput, isPhysical, isTerminal, monitoringInput, requestMonitor, setLatency |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JackMidiPortBuffer initializeMidiBuffer(int bufferSize) throws JackException
JackMidiPortBuffer
for this port.
The returned instance is only valid during current process cycle, and may not be cached (even if bufferSize stays the same).
For output buffer, you still need to call
JackMidiPortBuffer.clearBuffer()
before writing to the buffer.
bufferSize
- current buffer size, as passed to
JackClient.process(int)
callback
JackMidiPortBuffer
object
JackException
- if the buffer can't be initialized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |