Browse Source

Fix wrong data type for python-side mapped range

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 4 years ago
parent
commit
0ac2667115
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
5 changed files with 7 additions and 7 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPlugin.cpp
  2. +3
    -3
      source/frontend/carla_backend.py
  3. +1
    -1
      source/frontend/carla_shared.py
  4. +1
    -1
      source/frontend/carla_skin.py
  5. +1
    -1
      source/frontend/carla_widgets.py

+ 1
- 1
source/backend/plugin/CarlaPlugin.cpp View File

@@ -1,6 +1,6 @@
/*
* Carla Plugin
* Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2011-2020 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


+ 3
- 3
source/frontend/carla_backend.py View File

@@ -1111,10 +1111,10 @@ class ParameterData(Structure):
("mappedControlIndex", c_int16),

# Minimum value that this parameter maps to.
("mappedMinimum", c_uint8),
("mappedMinimum", c_float),

# Maximum value that this parameter maps to.
("mappedMaximum", c_uint8)
("mappedMaximum", c_float)
]

# Parameter ranges.
@@ -1195,7 +1195,7 @@ PyParameterData = {
'midiChannel': 0,
'mappedControlIndex': CONTROL_VALUE_NONE,
'mappedMinimum': 0.0,
'mappedMaximum': 1.0,
'mappedMaximum': 0.0,
}

# @see ParameterRanges


+ 1
- 1
source/frontend/carla_shared.py View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Common Carla code
# Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com>
# Copyright (C) 2011-2020 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


+ 1
- 1
source/frontend/carla_skin.py View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Carla plugin/slot skin code
# Copyright (C) 2013-2019 Filipe Coelho <falktx@falktx.com>
# Copyright (C) 2013-2020 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


+ 1
- 1
source/frontend/carla_widgets.py View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Carla widgets code
# Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com>
# Copyright (C) 2011-2020 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


Loading…
Cancel
Save