diff --git a/include/audio.hpp b/include/audio.hpp new file mode 100644 index 0000000..92d37cf --- /dev/null +++ b/include/audio.hpp @@ -0,0 +1,30 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021-2022 Filipe Coelho + * + * 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. + */ + +#pragma once + +namespace rack { +namespace audio { + + +/* NOTE all the audio stuff (drivers, ports etc) is purposefully missing here, unwanted in Cardinal + */ +struct Port; + + +} // namespace audio +} // namespace rack diff --git a/include/midi.hpp b/include/midi.hpp index 9a4f691..1a6425a 100644 --- a/include/midi.hpp +++ b/include/midi.hpp @@ -26,13 +26,6 @@ */ #pragma once -#include -#include - -#include - -#include -#include #include "choc/choc_SmallVector.h" diff --git a/src/Makefile b/src/Makefile index 5b75d1b..bc56652 100644 --- a/src/Makefile +++ b/src/Makefile @@ -113,6 +113,7 @@ RACK_FILES += Rack/dep/pffft/fftpack.c RACK_FILES += Rack/dep/osdialog/osdialog.c IGNORED_FILES = Rack/src/asset.cpp +IGNORED_FILES += Rack/src/audio.cpp IGNORED_FILES += Rack/src/common.cpp IGNORED_FILES += Rack/src/context.cpp IGNORED_FILES += Rack/src/dep.cpp @@ -125,6 +126,7 @@ IGNORED_FILES += Rack/src/network.cpp IGNORED_FILES += Rack/src/plugin.cpp IGNORED_FILES += Rack/src/rtaudio.cpp IGNORED_FILES += Rack/src/rtmidi.cpp +IGNORED_FILES += Rack/src/app/AudioDisplay.cpp IGNORED_FILES += Rack/src/app/MenuBar.cpp IGNORED_FILES += Rack/src/app/MidiDisplay.cpp IGNORED_FILES += Rack/src/app/Scene.cpp