Browse Source

Misc

tags/1.9.4
falkTX 10 years ago
parent
commit
0ab7278aa3
2 changed files with 12 additions and 6 deletions
  1. +6
    -6
      source/backend/engine/CarlaEngineJack.cpp
  2. +6
    -0
      source/discovery/Makefile

+ 6
- 6
source/backend/engine/CarlaEngineJack.cpp View File

@@ -1315,10 +1315,10 @@ protected:
bool portIsAudio = (std::strcmp(jackbridge_port_type(jackPort), JACK_DEFAULT_AUDIO_TYPE) == 0);
bool portIsCV = false;

if (jack_uuid_t uuid = jackbridge_port_uuid(jackPort))
//if (jack_uuid_t uuid = jackbridge_port_uuid(jackPort))
{
char* value = nullptr;
char* type = nullptr;
//char* value = nullptr;
//char* type = nullptr;

//if (jackbridge_get_property(uuid, "urn:jack:IsControlVoltage", &value, &type) && value != nullptr && type != nullptr && std::strcmp(type, "text/plain") == 0)
// portIsCV = (std::strcmp(value, "YES") == 0);
@@ -1792,10 +1792,10 @@ private:
bool portIsAudio = (std::strcmp(jackbridge_port_type(jackPort), JACK_DEFAULT_AUDIO_TYPE) == 0);
bool portIsCV = false;

if (jack_uuid_t uuid = jackbridge_port_uuid(jackPort))
//if (jack_uuid_t uuid = jackbridge_port_uuid(jackPort))
{
char* value = nullptr;
char* type = nullptr;
//char* value = nullptr;
//char* type = nullptr;

//if (jackbridge_get_property(uuid, "urn:jack:IsControlVoltage", &value, &type) && value != nullptr && type != nullptr && std::strcmp(type, "text/plain") == 0)
// portIsCV = (std::strcmp(value, "YES") == 0);


+ 6
- 0
source/discovery/Makefile View File

@@ -146,6 +146,12 @@ debug:
.FORCE:
.PHONY: .FORCE

../modules/juce_audio_basics.%.a: .FORCE
$(MAKE) -C ../modules juce_audio_basics_$*

../modules/juce_core.%.a: .FORCE
$(MAKE) -C ../modules juce_core_$*

../modules/lilv.%.a: .FORCE
$(MAKE) -C ../modules lilv_$*



Loading…
Cancel
Save