Browse Source

Merge branch 'main' into jsfx

pull/1516/head
falkTX 3 years ago
parent
commit
093e7e1202
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
7 changed files with 17 additions and 11 deletions
  1. +3
    -4
      Makefile
  2. +1
    -0
      source/Makefile.deps.mk
  3. +3
    -1
      source/frontend/carla_shared.py
  4. +1
    -0
      source/frontend/patchcanvas/scene.py
  5. +3
    -3
      source/includes/CarlaDefines.h
  6. +5
    -3
      source/modules/water/streams/MemoryOutputStream.cpp
  7. +1
    -0
      source/modules/water/streams/MemoryOutputStream.h

+ 3
- 4
Makefile View File

@@ -22,7 +22,7 @@ else
MODULEDIR := $(CURDIR)/build/modules/Release MODULEDIR := $(CURDIR)/build/modules/Release
endif endif


VERSION := 2.4.0
VERSION := 2.4.1


-include Makefile.user.mk -include Makefile.user.mk


@@ -38,9 +38,8 @@ ALL_LIBS += $(MODULEDIR)/carla_engine.a
endif endif
ALL_LIBS += $(MODULEDIR)/carla_engine_plugin.a ALL_LIBS += $(MODULEDIR)/carla_engine_plugin.a
ALL_LIBS += $(MODULEDIR)/carla_plugin.a ALL_LIBS += $(MODULEDIR)/carla_plugin.a
ifneq ($(STATIC_PLUGIN_TARGET),true)
ALL_LIBS += $(MODULEDIR)/jackbridge.a ALL_LIBS += $(MODULEDIR)/jackbridge.a
else
ifeq ($(STATIC_PLUGIN_TARGET),true)
ALL_LIBS += $(MODULEDIR)/jackbridge.min.a ALL_LIBS += $(MODULEDIR)/jackbridge.min.a
endif endif
ALL_LIBS += $(MODULEDIR)/native-plugins.a ALL_LIBS += $(MODULEDIR)/native-plugins.a
@@ -114,7 +113,7 @@ $(MODULEDIR)/carla_plugin.a: .FORCE
$(MODULEDIR)/jackbridge.a: .FORCE $(MODULEDIR)/jackbridge.a: .FORCE
@$(MAKE) -C source/jackbridge @$(MAKE) -C source/jackbridge


$(MODULEDIR)/jackbridge.%.a: .FORCE
$(MODULEDIR)/jackbridge.%.a: $(MODULEDIR)/jackbridge.a
@$(MAKE) -C source/jackbridge $* @$(MAKE) -C source/jackbridge $*


$(MODULEDIR)/native-plugins.a: .FORCE $(MODULEDIR)/native-plugins.a: .FORCE


+ 1
- 0
source/Makefile.deps.mk View File

@@ -509,6 +509,7 @@ WATER_LIBS = -luuid -lwsock32 -lwininet -lversion -lole32 -lws2_32 -loleau
ifeq ($(USING_JUCE),true) ifeq ($(USING_JUCE),true)
JUCE_AUDIO_DEVICES_LIBS = -lwinmm -lole32 JUCE_AUDIO_DEVICES_LIBS = -lwinmm -lole32
JUCE_CORE_LIBS = -luuid -lwsock32 -lwininet -lversion -lole32 -lws2_32 -loleaut32 -limm32 -lcomdlg32 -lshlwapi -lrpcrt4 -lwinmm JUCE_CORE_LIBS = -luuid -lwsock32 -lwininet -lversion -lole32 -lws2_32 -loleaut32 -limm32 -lcomdlg32 -lshlwapi -lrpcrt4 -lwinmm
JUCE_EVENTS_LIBS = -lole32
JUCE_GRAPHICS_LIBS = -lgdi32 JUCE_GRAPHICS_LIBS = -lgdi32
JUCE_GUI_BASICS_LIBS = -lgdi32 -limm32 -lcomdlg32 -lole32 JUCE_GUI_BASICS_LIBS = -lgdi32 -limm32 -lcomdlg32 -lole32
endif # USING_JUCE endif # USING_JUCE


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

@@ -71,7 +71,7 @@ if WINDOWS:
# ------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------
# Set Version # Set Version


VERSION = "2.4.0"
VERSION = "2.4.1"


# ------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------
# Set TMP # Set TMP
@@ -359,6 +359,7 @@ if WINDOWS:
splitter = ";" splitter = ";"


APPDATA = os.getenv("APPDATA") APPDATA = os.getenv("APPDATA")
LOCALAPPDATA = os.getenv("LOCALAPPDATA", APPDATA)
PROGRAMFILES = os.getenv("PROGRAMFILES") PROGRAMFILES = os.getenv("PROGRAMFILES")
PROGRAMFILESx86 = os.getenv("PROGRAMFILES(x86)") PROGRAMFILESx86 = os.getenv("PROGRAMFILES(x86)")
COMMONPROGRAMFILES = os.getenv("COMMONPROGRAMFILES") COMMONPROGRAMFILES = os.getenv("COMMONPROGRAMFILES")
@@ -396,6 +397,7 @@ if WINDOWS:
DEFAULT_VST2_PATH += ";" + COMMONPROGRAMFILES + "\\VST2" DEFAULT_VST2_PATH += ";" + COMMONPROGRAMFILES + "\\VST2"


DEFAULT_VST3_PATH = COMMONPROGRAMFILES + "\\VST3" DEFAULT_VST3_PATH = COMMONPROGRAMFILES + "\\VST3"
DEFAULT_VST3_PATH += ";" + LOCALAPPDATA + "\\Programs\\Common\\VST3"


DEFAULT_SF2_PATH = APPDATA + "\\SF2" DEFAULT_SF2_PATH = APPDATA + "\\SF2"
DEFAULT_SFZ_PATH = APPDATA + "\\SFZ" DEFAULT_SFZ_PATH = APPDATA + "\\SFZ"


+ 1
- 0
source/frontend/patchcanvas/scene.py View File

@@ -81,6 +81,7 @@ class PatchScene(QGraphicsScene):
self.m_cursor_cut = None self.m_cursor_cut = None
self.m_cursor_zoom = None self.m_cursor_zoom = None


self.setItemIndexMethod(QGraphicsScene.ItemIndexMethod.NoIndex)
self.selectionChanged.connect(self.slot_selectionChanged) self.selectionChanged.connect(self.slot_selectionChanged)


def getDevicePixelRatioF(self): def getDevicePixelRatioF(self):


+ 3
- 3
source/includes/CarlaDefines.h View File

@@ -32,8 +32,8 @@
#endif #endif


/* Set Version */ /* Set Version */
#define CARLA_VERSION_HEX 0x020400
#define CARLA_VERSION_STRING "2.4.0"
#define CARLA_VERSION_HEX 0x020401
#define CARLA_VERSION_STRING "2.4.1"
#define CARLA_VERSION_STRMIN "2.4" #define CARLA_VERSION_STRMIN "2.4"


/* Check OS */ /* Check OS */
@@ -270,7 +270,7 @@ private: \
#endif #endif


/* Define CARLA_API */ /* Define CARLA_API */
#ifdef BUILD_BRIDGE
#if defined(BUILD_BRIDGE) || defined(STATIC_PLUGIN_TARGET)
# define CARLA_API # define CARLA_API
#else #else
# if defined(CARLA_OS_WIN) && ! defined(__WINE__) # if defined(CARLA_OS_WIN) && ! defined(__WINE__)


+ 5
- 3
source/modules/water/streams/MemoryOutputStream.cpp View File

@@ -30,7 +30,8 @@ namespace water {
MemoryOutputStream::MemoryOutputStream (const size_t initialSize) MemoryOutputStream::MemoryOutputStream (const size_t initialSize)
: internalBlock(), blockToUse (internalBlock), : internalBlock(), blockToUse (internalBlock),
position (0), size (0)
position (0), size (0),
usingInternalBlock (true)
{ {
internalBlock.setSize (initialSize, false); internalBlock.setSize (initialSize, false);
} }
@@ -38,7 +39,8 @@ MemoryOutputStream::MemoryOutputStream (const size_t initialSize)
MemoryOutputStream::MemoryOutputStream (MemoryBlock& memoryBlockToWriteTo, MemoryOutputStream::MemoryOutputStream (MemoryBlock& memoryBlockToWriteTo,
const bool appendToExistingBlockContent) const bool appendToExistingBlockContent)
: internalBlock(), blockToUse (memoryBlockToWriteTo), : internalBlock(), blockToUse (memoryBlockToWriteTo),
position (0), size (0)
position (0), size (0),
usingInternalBlock (false)
{ {
if (appendToExistingBlockContent) if (appendToExistingBlockContent)
position = size = memoryBlockToWriteTo.getSize(); position = size = memoryBlockToWriteTo.getSize();
@@ -56,7 +58,7 @@ void MemoryOutputStream::flush()
void MemoryOutputStream::trimExternalBlockSize() void MemoryOutputStream::trimExternalBlockSize()
{ {
if (blockToUse != internalBlock)
if (! usingInternalBlock)
blockToUse.setSize (size, false); blockToUse.setSize (size, false);
} }


+ 1
- 0
source/modules/water/streams/MemoryOutputStream.h View File

@@ -123,6 +123,7 @@ private:
MemoryBlock internalBlock; MemoryBlock internalBlock;
MemoryBlock& blockToUse; MemoryBlock& blockToUse;
size_t position, size; size_t position, size;
bool usingInternalBlock;
void trimExternalBlockSize(); void trimExternalBlockSize();
char* prepareToWrite (size_t); char* prepareToWrite (size_t);


Loading…
Cancel
Save