|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jack4j.JackPort
public class JackPort
Jack port.
Method Summary | |
---|---|
void |
ensureMonitor(boolean on)
If the port can be monitored, this method, turns on input monitoring if it was off, and turns it off if only one request has been made to turn it on; otherwise, it does nothing. |
int |
getLatency()
Returns port latency. |
int |
getPortFlags()
Returns current port flags, packed as int. |
java.util.EnumSet<JackPortFlag> |
getPortFlagSet()
Returns current port flags, as reported by Jack API. |
long |
getPortHandle()
Returns the pointer to C jack_port_t structure,
represented as long . |
java.lang.String |
getPortName()
Returns the full name (including 'client_name:' prefix) of this port. |
java.lang.String |
getPortShortName()
Returns the short name (not including 'client_name:' prefix) of this port. |
java.lang.String |
getPortType()
Returns port type. |
boolean |
isInput()
Returns true if this is an input port. |
boolean |
isMonitorable()
Returns true if this port can be monitored. |
boolean |
isOutput()
Returns true if this is an output port. |
boolean |
isPhysical()
Returns true if this port is physical. |
boolean |
isTerminal()
Returns true if this port is terminal. |
boolean |
monitoringInput()
Returns true if input monitoring was requested for this port. |
void |
requestMonitor(boolean on)
If the port can be monitored, sets monitoring on or off. |
void |
setLatency(int latency)
Sets port latency. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getPortShortName() throws JackException
JackException
public java.lang.String getPortName() throws JackException
JackException
public java.lang.String getPortType() throws JackException
JackException
public boolean isInput() throws JackException
JackException
public boolean isOutput() throws JackException
JackException
public boolean isPhysical() throws JackException
JackException
public boolean isMonitorable() throws JackException
JackException
public boolean isTerminal() throws JackException
JackException
public long getPortHandle()
jack_port_t
structure,
represented as long
.
public java.util.EnumSet<JackPortFlag> getPortFlagSet() throws JackException
JackException
public int getPortFlags() throws JackException
JackException
public int getLatency() throws JackException
JackException
public void setLatency(int latency) throws JackException
JackException
public void requestMonitor(boolean on) throws JackException
JackException
public void ensureMonitor(boolean on) throws JackException
JackException
public boolean monitoringInput() throws JackException
JackException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |