mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Add missing default cases
This commit is contained in:
@@ -151,6 +151,7 @@ bool ClapLogger::log_request(
|
||||
<< ": clap_plugin_gui::is_api_supported(api = ";
|
||||
switch (request.api) {
|
||||
case clap::ext::gui::ApiType::X11:
|
||||
default:
|
||||
message << request.instance_id << "\"" << CLAP_WINDOW_API_X11
|
||||
<< "\" (will be translated to \""
|
||||
<< CLAP_WINDOW_API_WIN32 << "\")";
|
||||
@@ -167,6 +168,7 @@ bool ClapLogger::log_request(bool is_host_plugin,
|
||||
message << request.instance_id << ": clap_plugin_gui::create(api = ";
|
||||
switch (request.api) {
|
||||
case clap::ext::gui::ApiType::X11:
|
||||
default:
|
||||
message << request.instance_id << "\"" << CLAP_WINDOW_API_X11
|
||||
<< "\" (will be translated to \""
|
||||
<< CLAP_WINDOW_API_WIN32 << "\")";
|
||||
|
||||
@@ -368,6 +368,7 @@ void ClapBridge::run() {
|
||||
// when the plugin opens its own Wine window.
|
||||
switch (request.api) {
|
||||
case clap::ext::gui::ApiType::X11:
|
||||
default:
|
||||
return gui->is_api_supported(
|
||||
plugin, CLAP_WINDOW_API_WIN32,
|
||||
request.is_floating);
|
||||
@@ -389,6 +390,7 @@ void ClapBridge::run() {
|
||||
// and `is_floating` will always be `false`.
|
||||
switch (request.api) {
|
||||
case clap::ext::gui::ApiType::X11:
|
||||
default:
|
||||
return gui->create(plugin,
|
||||
CLAP_WINDOW_API_WIN32,
|
||||
request.is_floating);
|
||||
|
||||
Reference in New Issue
Block a user