Browse Source

Merge 5907476acf into 31d4ae97f2

pull/34/merge
Filipe Coelho GitHub 8 years ago
parent
commit
6e83fb554e
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      common/jack/types.h

+ 11
- 0
common/jack/types.h View File

@@ -451,6 +451,11 @@ typedef void (*JackInfoShutdownCallback)(jack_status_t code, const char* reason,
#define JACK_DEFAULT_AUDIO_TYPE "32 bit float mono audio"
#define JACK_DEFAULT_MIDI_TYPE "8 bit raw midi"

/**
* Used to check if the current JACK version provides JackPortIsControlVoltage flag.
*/
#define JACK_HAS_PORT_IS_CONTROL_VOLTAGE_FLAG 1

/**
* For convenience, use this typedef if you want to be able to change
* between float and double. You may want to typedef sample_t to
@@ -515,6 +520,12 @@ enum JackPortFlags {
*/
JackPortIsTerminal = 0x10,

/**
* if JackPortIsControlVoltage is set, then the audio port is used
* as control voltage audio signal.
*/
JackPortIsControlVoltage = 0x20,

};

/**


Loading…
Cancel
Save