Add files for future use

This commit is contained in:
falkTX 2021-12-08 20:46:14 +00:00
parent 3b314c119b
commit 859a2fbf9b
2 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.15)
project(Cardinal VERSION 0.0.0)
add_subdirectory(JUCE)
# FX variant
juce_add_plugin(CardinalFX
IS_SYNTH FALSE
NEEDS_MIDI_INPUT FALSE
NEEDS_MIDI_OUTPUT FALSE
IS_MIDI_EFFECT FALSE
EDITOR_WANTS_KEYBOARD_FOCUS TRUE
PLUGIN_MANUFACTURER_CODE Dstr
PLUGIN_CODE dCnF
FORMATS AU
PRODUCT_NAME "CardinalFX")
target_sources(CardinalFX
PRIVATE
Source/CardinalWrapper.cpp)
target_compile_definitions(CardinalFX
PUBLIC
JUCE_WEB_BROWSER=0)
target_link_libraries(CardinalFX
PRIVATE
juce::juce_audio_utils
PUBLIC
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags)
# Synth variant

View file

@ -0,0 +1,43 @@
/*
* DISTRHO Cardinal Plugin
* Copyright (C) 2021 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
* published by the Free Software Foundation; either version 3 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* For a full copy of the GNU General Public License see the LICENSE file.
*/
#include <juce_audio_processors/juce_audio_processors.h>
class CardinalWrapperProcessor : public juce::AudioProcessor
{
public:
CardinalWrapperProcessor()
{}
~CardinalWrapperProcessor() override
{}
void prepareToPlay (double sampleRate, int samplesPerBlock) override
{}
void releaseResources() override
{}
};
class CardinalWrapperEditor : public juce::AudioProcessorEditor
{
public:
CardinalWrapperEditor(CardinalWrapperProcessor&)
{}
~CardinalWrapperEditor() override
{}
};