1
Fork 0

Prevent use of audio drivers and ports, also unwanted

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-30 15:51:14 +00:00
parent 68e32eb605
commit 8276f86680
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 32 additions and 7 deletions

30
include/audio.hpp Normal file
View File

@ -0,0 +1,30 @@
/*
* DISTRHO Cardinal Plugin
* Copyright (C) 2021-2022 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.
*/
#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

View File

@ -26,13 +26,6 @@
*/
#pragma once
#include <vector>
#include <set>
#include <jansson.h>
#include <common.hpp>
#include <context.hpp>
#include "choc/choc_SmallVector.h"

View File

@ -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