twischer-adit GitHub 1 year ago
parent
commit
bb4f6d24bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions
  1. +3
    -3
      common/jack/jack.h
  2. +4
    -3
      common/jack/types.h

+ 3
- 3
common/jack/jack.h View File

@@ -762,15 +762,15 @@ int jack_port_unregister (jack_client_t *client, jack_port_t *port) JACK_OPTIONA
* zero-filled. if there are multiple inbound connections, the data
* will be mixed appropriately.
*
* FOR OUTPUT PORTS ONLY : DEPRECATED in Jack 2.0 !!
* ---------------------------------------------------
* FOR OUTPUT PORTS ONLY
* ---------------------
* You may cache the value returned, but only between calls to
* your "blocksize" callback. For this reason alone, you should
* either never cache the return value or ensure you have
* a "blocksize" callback and be sure to invalidate the cached
* address from there.
*
* Caching output ports is DEPRECATED in Jack 2.0, due to some new optimization (like "pipelining").
* Caching input ports is not allowed, due to some new optimization (like "pipelining").
* Port buffers have to be retrieved in each callback for proper functioning.
*/
void * jack_port_get_buffer (jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;


+ 4
- 3
common/jack/types.h View File

@@ -468,13 +468,14 @@ enum JackPortFlags {

/**
* if JackPortIsInput is set, then the port can receive
* data.
* data from output ports. The creator of this port can
* read from it.
*/
JackPortIsInput = 0x1,

/**
* if JackPortIsOutput is set, then data can be read from
* the port.
* if JackPortIsOutput is set, then data can be forwarded to
* input ports. The creator of this port can write to it.
*/
JackPortIsOutput = 0x2,



Loading…
Cancel
Save