Browse Source

Misc

tags/1.9.6
falkTX 10 years ago
parent
commit
a1a682bb29
6 changed files with 22 additions and 20 deletions
  1. +1
    -1
      source/carla
  2. +1
    -1
      source/carla-patchbay
  3. +1
    -1
      source/carla-rack
  4. +7
    -7
      source/carla_app.py
  5. +1
    -1
      source/carla_control.py
  6. +11
    -9
      source/ladspa_rdf.py

+ 1
- 1
source/carla View File

@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the GPL.txt file
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# ------------------------------------------------------------------------------------------------------------
# Imports (Config)


+ 1
- 1
source/carla-patchbay View File

@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the GPL.txt file
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# ------------------------------------------------------------------------------------------------------------
# Imports (Custom Stuff)


+ 1
- 1
source/carla-rack View File

@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the GPL.txt file
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# ------------------------------------------------------------------------------------------------------------
# Imports (Custom Stuff)


+ 7
- 7
source/carla_app.py View File

@@ -4,17 +4,17 @@
# Carla application
# Copyright (C) 2013-2014 Filipe Coelho <falktx@falktx.com>
#
# This program is free software you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation either version 2 of the License, or
# any later version.
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the GPL.txt file
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# ------------------------------------------------------------------------------------------------------------
# Imports (Config)


+ 1
- 1
source/carla_control.py View File

@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the GPL.txt file
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# ------------------------------------------------------------------------------------------------------------
# Imports (Global)


+ 11
- 9
source/ladspa_rdf.py View File

@@ -16,7 +16,7 @@
#
# For a full copy of the GNU General Public License see the doc/GPL.txt file.

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# C types

# Imports (Global)
@@ -131,7 +131,7 @@ class LADSPA_RDF_Descriptor(Structure):
("Ports", POINTER(LADSPA_RDF_Port))
]

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# Python compatible C types

PyLADSPA_RDF_ScalePoint = {
@@ -163,7 +163,7 @@ PyLADSPA_RDF_Descriptor = {
'Ports': []
}

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# RDF data and conversions

# Namespaces
@@ -328,7 +328,7 @@ def get_c_unit_type(value):

return ret

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# Global objects

global LADSPA_RDF_PATH, LADSPA_Plugins
@@ -340,7 +340,7 @@ def set_rdf_path(PATH):
global LADSPA_RDF_PATH
LADSPA_RDF_PATH = PATH

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# Helper methods

LADSPA_RDF_TYPE_PLUGIN = 1
@@ -372,7 +372,7 @@ def to_plugin_and_port_number(subject):
def to_plugin_port(subject):
return to_plugin_and_port_number(subject)[1]

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# RDF store/retrieve data methods

def check_and_add_plugin(pluginId):
@@ -490,7 +490,7 @@ def get_value_index(value, vlist):
print("LADSPA_RDF - CRITICAL ERROR #002")
return 0

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# RDF sort data methods

# Sort the plugin's port's ScalePoints by value
@@ -534,7 +534,7 @@ def SORT_PyLADSPA_RDF_Ports(oldDictList):

return newDictList

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# RDF data parsing

from rdflib import ConjunctiveGraph, URIRef, BNode
@@ -681,7 +681,7 @@ def parse_rdf_file(filename):
index, pluginId, portId, value = portDefault
set_port_default(pluginId, portId, value)

# -------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------------------
# LADSPA_RDF main methods

import os
@@ -795,3 +795,5 @@ def get_c_ladspa_rdfs(pyPluginList):
C_LADSPA_Plugins.append(desc)

return C_LADSPA_Plugins

# ------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save