1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Fixed some RTAS compilation errors

This commit is contained in:
Tom Poole 2019-05-22 16:54:37 +01:00
parent e26529d5e9
commit 3633aff4dd
6 changed files with 17 additions and 19 deletions

View file

@ -24,11 +24,13 @@
==============================================================================
*/
#if JucePlugin_Build_RTAS
#pragma once
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"
#if JucePlugin_Build_RTAS
#include "juce_RTAS_DigiCode_Header.h"
/*

View file

@ -24,11 +24,13 @@
==============================================================================
*/
#if JucePlugin_Build_RTAS
#pragma once
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"
#if JucePlugin_Build_RTAS
#include "juce_RTAS_DigiCode_Header.h"
#ifdef __clang__

View file

@ -24,6 +24,8 @@
==============================================================================
*/
#pragma once
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"

View file

@ -24,6 +24,8 @@
==============================================================================
*/
#pragma once
#if JucePlugin_Build_RTAS
#ifdef _MSC_VER

View file

@ -24,11 +24,11 @@
==============================================================================
*/
#if JucePlugin_Build_RTAS
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"
#if JucePlugin_Build_RTAS
// Horrible carbon-based fix for a cocoa bug, where an NSWindow that wraps a carbon
// window fails to keep its position updated when the user drags the window around..
#define WINDOWPOSITION_BODGE 1
@ -38,9 +38,6 @@
#include "../utility/juce_IncludeModuleHeaders.h"
#include "../utility/juce_CarbonVisibility.h"
namespace juce
{
using namespace juce;
//==============================================================================
@ -170,6 +167,4 @@ void forwardCurrentKeyEventToHostWindow()
}
}
} // namespace juce
#endif

View file

@ -24,11 +24,11 @@
==============================================================================
*/
#if JucePlugin_Build_RTAS
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"
#if JucePlugin_Build_RTAS
#ifdef _MSC_VER
// (this is a workaround for a build problem in VC9)
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
@ -111,11 +111,6 @@
#include "../utility/juce_IncludeModuleHeaders.h"
using namespace juce;
namespace juce
{
#ifdef _MSC_VER
#pragma pack (pop)
@ -166,6 +161,8 @@ static const int bypassControlIndex = 1;
static int numInstances = 0;
using namespace juce;
//==============================================================================
class JucePlugInProcess : public CEffectProcessMIDI,
public CEffectProcessRTAS,
@ -686,7 +683,7 @@ public:
auto paramIndex = controlIndex - 2;
auto floatValue = longToFloat (value);
if (auto* param = owner.getParameters()[paramIndex])
if (auto* param = juceFilter->getParameters()[paramIndex])
{
param->setValue (floatValue);
param->sendValueChangedMessageToListeners (floatValue);
@ -1050,8 +1047,6 @@ private:
void initialiseMacRTAS();
} // namespace juce
CProcessGroupInterface* CProcessGroup::CreateProcessGroup()
{
#if JUCE_MAC