mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 17:03:52 +02:00
Add #ifdef WITH_VST3 guards around VST3 hosting
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
#include <regex>
|
||||
|
||||
#include "../../common/communication/common.h"
|
||||
#include "vst2.h"
|
||||
#ifdef WITH_VST3
|
||||
#include "vst3.h"
|
||||
#endif
|
||||
|
||||
// FIXME: `std::filesystem` is broken in wineg++, at least under Wine 5.8. Any
|
||||
// path operation will thrown an encoding related error
|
||||
@@ -201,7 +205,13 @@ void GroupBridge::accept_requests() {
|
||||
request.endpoint_base_dir);
|
||||
break;
|
||||
case PluginType::vst3:
|
||||
#ifdef WITH_VST3
|
||||
throw std::runtime_error("TODO: Not yet implemented");
|
||||
#else
|
||||
throw std::runtime_error(
|
||||
"This version of yabridge has not been compiled "
|
||||
"with VST3 support");
|
||||
#endif
|
||||
break;
|
||||
case PluginType::unknown:
|
||||
throw std::runtime_error(
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "../boost-fix.h"
|
||||
|
||||
#include <boost/asio/local/stream_protocol.hpp>
|
||||
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||
#include <boost/asio/streambuf.hpp>
|
||||
#include <boost/filesystem.hpp>
|
||||
@@ -25,7 +26,8 @@
|
||||
#include <atomic>
|
||||
#include <thread>
|
||||
|
||||
#include "vst2.h"
|
||||
#include "../common/logging/common.h"
|
||||
#include "common.h"
|
||||
|
||||
/**
|
||||
* Encapsulate capturing the STDOUT or STDERR stream by opening a pipe and
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
// yabridge: a Wine VST bridge
|
||||
// Copyright (C) 2020 Robbert van der Helm
|
||||
//
|
||||
// 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
|
||||
// (at your option) 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.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
Reference in New Issue
Block a user