Value | Meaning |
---|---|
JackPortIsInput0x1 | if JackPortIsInput is set, then the port can receive data. |
JackPortIsOutput0x2 | if JackPortIsOutput is set, then data can be read from the port. |
JackPortIsPhysical0x4 | if JackPortIsPhysical is set, then the port corresponds to some kind of physical I/O connector. |
JackPortCanMonitor0x8 | if JackPortCanMonitor is set, then a call to jack_port_request_monitor() makes sense. Precisely what this means is dependent on the client. A typical result of it being called with TRUE as the second argument is that data that would be available from an output port (with JackPortIsPhysical set) is sent to a physical output connector as well, so that it can be heard/seen/whatever. Clients that do not control physical interfaces should never create ports with this bit set. |
JackPortIsTerminal0x10 | JackPortIsTerminal means: for an input port: the data received by the port will not be passed on or made available at any other port for an output port: the data available at the port does not originate from any other port Audio synthesizers, I/O hardware interface clients, HDR systems are examples of clients that would set this flag for their ports. |
A port has a set of flags that are formed by AND-ing together the desired values from the list below. The flags "JackPortIsInput" and "JackPortIsOutput" are mutually exclusive and it is an error to use them both.