This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Buffered DSP | |
* Copyright (C) 2022-2023 Filipe Coelho <[email protected]> | |
* SPDX-License-Identifier: ISC | |
*/ | |
#pragma once | |
#include "NAM/dsp.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -U3 -r JUCEorig/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp JUCE/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp | |
--- JUCEorig/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp 2021-03-06 12:11:12.667272479 +0000 | |
+++ JUCE/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp 2021-03-01 10:17:25.278859333 +0000 | |
@@ -842,6 +842,26 @@ | |
return out.getMemoryBlock(); | |
} | |
}; | |
+ | |
+ //============================================================================== | |
+ struct Clm_Chunk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <time.h> | |
static inline | |
uint64_t getCycles(void) | |
{ | |
#if defined(__ARM_ARCH_7A__) | |
uint32_t r; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char* getState() const override | |
{ | |
char* data = nullptr; | |
fMiddleWare->doReadOnlyOp([]{ | |
fMaster->getalldata(&data); | |
}); | |
return data; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/juce_core/native/juce_posix_SharedCode.h b/modules/juce_core/native/juce_posix_SharedCode.h | |
index c94d3a6..dd47d98 100644 | |
--- a/modules/juce_core/native/juce_posix_SharedCode.h | |
+++ b/modules/juce_core/native/juce_posix_SharedCode.h | |
@@ -596,12 +596,38 @@ File juce_getExecutableFile() | |
{ | |
Dl_info exeInfo; | |
dladdr ((void*) juce_getExecutableFile, &exeInfo); | |
- return CharPointer_UTF8 (exeInfo.dli_fname); | |
+ const CharPointer_UTF8 filename (exeInfo.dli_fname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------------------------------------------------------------------ | |
// State | |
template<class FeatureStruct> | |
struct Feature | |
{ | |
// pointer to feature struct | |
const FeatureStruct* self; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "lv2.hpp" | |
class EG_MidiGate : public LV2::Plugin, | |
private LV2::URID_Map | |
{ | |
public: | |
EG_MidiGate(double sampleRate, const char* bundlePath, const LV2_Feature* const* features) | |
: LV2::Plugin(sampleRate, bundlePath, features), | |
LV2::URID_Map(features), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "lv2.hpp" | |
#include <cmath> // for std::pow | |
// #define AMP_URI "http://lv2plug.in/plugins/eg-amp" | |
/** Define a macro for converting a gain in dB to a coefficient. */ | |
#define DB_CO(g) ((g) > -90.0f ? std::pow(10.0f, (g) * 0.05f) : 0.0f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lmms-1.1.0~rc9+git20141216.orig/plugins/carlabase/carla.cpp | |
+++ lmms-1.1.0~rc9+git20141216/plugins/carlabase/carla.cpp | |
@@ -251,16 +251,16 @@ intptr_t CarlaInstrument::handleDispatch | |
switch (opcode) | |
{ | |
- case HOST_OPCODE_NULL: | |
+ case NATIVE_HOST_OPCODE_NULL: | |
break; | |
- case HOST_OPCODE_UPDATE_PARAMETER: |