Skip to content

Commit

Permalink
Add JackPortIsCV and JackPortIsMIDI2 flags
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jan 27, 2025
1 parent 43e1173 commit 6dd022f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions common/jack/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,29 @@ enum JackPortFlags {
*/
JackPortIsTerminal = 0x10,

/**
* if JackPortIsCV is set, then the port buffer represents audio-rate
* control data rather than audio.
*
* Clients SHOULD prevent connections between Audio and CV ports.
*
* To make the ports more meaningful, clients can add meta-data to them.
* It is recommended to set these 2 in particular:
* - http://lv2plug.in/ns/lv2core#minimum
* - http://lv2plug.in/ns/lv2core#maximum
*/
JackPortIsCV = 0x20,

/**
* if JackPortIsMIDI2 is set, then the port expects to receive MIDI2 data.
*
* JACK will automatically convert MIDI1 data into MIDI2 for this port.
*
* for ports without this flag JACK will convert MIDI2 into MIDI1
* as much possible, some events might be skipped.
*/
JackPortIsMIDI2 = 0x20,

};

/**
Expand Down

0 comments on commit 6dd022f

Please sign in to comment.