Build with JUCE 7.0.6
This commit is contained in:
		
							
								
								
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -6,6 +6,7 @@ name: Release paulxstretch
 | 
			
		||||
trigger:
 | 
			
		||||
  event:
 | 
			
		||||
    - tag
 | 
			
		||||
name: Build paulxstretch
 | 
			
		||||
 | 
			
		||||
trigger:
 | 
			
		||||
  branch:
 | 
			
		||||
@@ -32,6 +33,20 @@ steps:
 | 
			
		||||
          -DCMAKE_BUILD_TYPE=Release \
 | 
			
		||||
          -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
 | 
			
		||||
      - git submodule update --init --recursive --progress
 | 
			
		||||
      - git submodule update --init --recursive
 | 
			
		||||
  - name: Build and push the docker image
 | 
			
		||||
    image: plugins/docker
 | 
			
		||||
    when:
 | 
			
		||||
      branch:
 | 
			
		||||
        - dev
 | 
			
		||||
    settings:
 | 
			
		||||
      registry: git.badhouseplants.net
 | 
			
		||||
      username: allanger
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: GITEA_TOKEN
 | 
			
		||||
      repo: git.badhouseplants.net/${DRONE_REPO}
 | 
			
		||||
      dockerfile: Containerfile
 | 
			
		||||
      tags: latest
 | 
			
		||||
 | 
			
		||||
  - name: Build the Linux version
 | 
			
		||||
    image: ubuntu
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -1,6 +1,7 @@
 | 
			
		||||
[submodule "deps/juce"]
 | 
			
		||||
	path = deps/juce
 | 
			
		||||
    url = https://github.com/juce-framework/JUCE.git
 | 
			
		||||
    branch = 7.0.6
 | 
			
		||||
[submodule "deps/clap-juce-extensions"]
 | 
			
		||||
	path = deps/clap-juce-extensions
 | 
			
		||||
	url = https://github.com/free-audio/clap-juce-extensions.git
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,11 @@
 | 
			
		||||
 | 
			
		||||
## PaulXStretch Change History
 | 
			
		||||
 | 
			
		||||
**v1.7.1** (2023-09-18)
 | 
			
		||||
 - Updated JUCE to 7.0.6, so the linux VST versions can be open in DAW
 | 
			
		||||
 - Temporarily dropped support for CLAP
 | 
			
		||||
 - Switched to git submodules to track deps
 | 
			
		||||
 | 
			
		||||
**v1.7.0**
 | 
			
		||||
 - Update JUCE to 7.0.2
 | 
			
		||||
 - Started using submodules for deps
 | 
			
		||||
 
 | 
			
		||||
@@ -3,11 +3,11 @@
 | 
			
		||||
#include "../JuceLibraryCode/JuceHeader.h"
 | 
			
		||||
 | 
			
		||||
#include "juce_core/system/juce_TargetPlatform.h"
 | 
			
		||||
#include "juce_audio_plugin_client/utility/juce_CheckSettingMacros.h"
 | 
			
		||||
#include "juce_audio_plugin_client/detail/juce_CheckSettingMacros.h"
 | 
			
		||||
 | 
			
		||||
#include "juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h"
 | 
			
		||||
#include "juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h"
 | 
			
		||||
#include "juce_audio_plugin_client/utility/juce_WindowsHooks.h"
 | 
			
		||||
#include "juce_audio_plugin_client/detail/juce_IncludeSystemHeaders.h"
 | 
			
		||||
#include "juce_audio_plugin_client/detail/juce_IncludeModuleHeaders.h"
 | 
			
		||||
#include "juce_gui_basics/native/juce_WindowsHooks_windows.h"
 | 
			
		||||
 | 
			
		||||
#include <juce_audio_devices/juce_audio_devices.h>
 | 
			
		||||
#include <juce_gui_extra/juce_gui_extra.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -102,7 +102,7 @@ public:
 | 
			
		||||
    virtual void createPlugin()
 | 
			
		||||
    {
 | 
			
		||||
      #if JUCE_MODULE_AVAILABLE_juce_audio_plugin_client
 | 
			
		||||
        processor.reset (::createPluginFilterOfType (AudioProcessor::wrapperType_Standalone));
 | 
			
		||||
        processor = createPluginFilterOfType (AudioProcessor::wrapperType_Standalone);
 | 
			
		||||
      #else
 | 
			
		||||
        AudioProcessor::setTypeOfNextNewPlugin (AudioProcessor::wrapperType_Standalone);
 | 
			
		||||
        processor.reset (createPluginFilter());
 | 
			
		||||
@@ -524,11 +524,9 @@ private:
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    //==============================================================================
 | 
			
		||||
    void audioDeviceIOCallback (const float** inputChannelData,
 | 
			
		||||
                                int numInputChannels,
 | 
			
		||||
                                float** outputChannelData,
 | 
			
		||||
                                int numOutputChannels,
 | 
			
		||||
                                int numSamples) override
 | 
			
		||||
    void audioDeviceIOCallbackWithContext (const float* const* inputChannelData, int numInputChannels,
 | 
			
		||||
                                           float* const* outputChannelData, int numOutputChannels,
 | 
			
		||||
                                           int numSamples, const AudioIODeviceCallbackContext& context) override
 | 
			
		||||
    {
 | 
			
		||||
        const bool inputMuted = shouldMuteInput.getValue();
 | 
			
		||||
 | 
			
		||||
@@ -538,8 +536,8 @@ private:
 | 
			
		||||
            inputChannelData = emptyBuffer.getArrayOfReadPointers();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        player.audioDeviceIOCallback (inputChannelData, numInputChannels,
 | 
			
		||||
                                      outputChannelData, numOutputChannels, numSamples);
 | 
			
		||||
        player.audioDeviceIOCallbackWithContext (inputChannelData, numInputChannels,
 | 
			
		||||
                                      outputChannelData, numOutputChannels, numSamples, context);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void audioDeviceAboutToStart (AudioIODevice* device) override
 | 
			
		||||
 
 | 
			
		||||
@@ -154,7 +154,7 @@ public:
 | 
			
		||||
			++m_silenceoutputted;
 | 
			
		||||
			return 0.0f;
 | 
			
		||||
		};
 | 
			
		||||
		float** smps = abuf.getArrayOfWritePointers();
 | 
			
		||||
		float* const* smps = abuf.getArrayOfWritePointers();
 | 
			
		||||
		int readinc = 1;
 | 
			
		||||
		if (m_reverseplay)
 | 
			
		||||
			readinc = -1;
 | 
			
		||||
 
 | 
			
		||||
@@ -316,7 +316,7 @@ void StretchAudioSource::getNextAudioBlock(const AudioSourceChannelInfo & buffer
 | 
			
		||||
	if (m_vol_smoother.getTargetValue() != maingain)
 | 
			
		||||
		m_vol_smoother.setTargetValue(maingain);
 | 
			
		||||
	FloatVectorOperations::disableDenormalisedNumberSupport();
 | 
			
		||||
	float** outarrays = bufferToFill.buffer->getArrayOfWritePointers();
 | 
			
		||||
	float* const* outarrays = bufferToFill.buffer->getArrayOfWritePointers();
 | 
			
		||||
	int outbufchans = jmin(m_num_outchans, bufferToFill.buffer->getNumChannels());
 | 
			
		||||
	int offset = bufferToFill.startSample;
 | 
			
		||||
	if (m_stretchers.size() == 0)
 | 
			
		||||
 
 | 
			
		||||
@@ -177,7 +177,7 @@ public:
 | 
			
		||||
	MyThumbCache() : AudioThumbnailCache(200)
 | 
			
		||||
	{
 | 
			
		||||
		// The default priority of 2 is a bit too low in some cases, it seems...
 | 
			
		||||
		getTimeSliceThread().setPriority(3);
 | 
			
		||||
		//getTimeSliceThread().setPriority(juce::Thread::Priority::highest);
 | 
			
		||||
	}
 | 
			
		||||
	~MyThumbCache() {}
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -616,8 +616,8 @@ void PaulstretchpluginAudioProcessor::startplay(Range<double> playrange, int num
 | 
			
		||||
		m_recreate_buffering_source = false;
 | 
			
		||||
	}
 | 
			
		||||
    if (m_bufferingthread.isThreadRunning() == false) {
 | 
			
		||||
        m_bufferingthread.setPriority(8);
 | 
			
		||||
        m_bufferingthread.startThread();
 | 
			
		||||
        // m_bufferingthread.setPriority(juce::Thread::Priority::high);
 | 
			
		||||
    }
 | 
			
		||||
	m_stretch_source->setNumOutChannels(numoutchans);
 | 
			
		||||
	m_stretch_source->setFFTSize(m_fft_size_to_use, true);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								deps/juce
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								deps/juce
									
									
									
									
										vendored
									
									
								
							 Submodule deps/juce updated: 965d0ca4be...d24c272926
									
								
							
		Reference in New Issue
	
	Block a user