Browse Source

Prevent use of audio drivers and ports, also unwanted

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
8276f86680
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 32 additions and 7 deletions
  1. +30
    -0
      include/audio.hpp
  2. +0
    -7
      include/midi.hpp
  3. +2
    -0
      src/Makefile

+ 30
- 0
include/audio.hpp 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

+ 0
- 7
include/midi.hpp 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"



+ 2
- 0
src/Makefile 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


Loading…
Cancel
Save