mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
From bc1992a030284476089d2e1e85f47a76874bb9e7 Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Mon, 4 Mar 2024 21:28:23 +1000
|
|
Subject: Fix for Haiku
|
|
|
|
|
|
diff --git a/src/app/qml/Main.qml b/src/app/qml/Main.qml
|
|
index 5283af5..068cba9 100644
|
|
--- a/src/app/qml/Main.qml
|
|
+++ b/src/app/qml/Main.qml
|
|
@@ -29,8 +29,8 @@ import QtQuick.Controls.Material 2.0
|
|
ApplicationWindow {
|
|
id: applicationWindow
|
|
visible: true
|
|
- width: Screen.width; height: Screen.height
|
|
- visibility: Window.Maximized
|
|
+ width: Screen.width * 0.75; height: Screen.height * 0.75
|
|
+ visibility: Window.Normal
|
|
|
|
property string titleText: "Minuet"
|
|
|
|
diff --git a/src/plugins/fluidsynthsoundcontroller/fluidsynthsoundcontroller.cpp b/src/plugins/fluidsynthsoundcontroller/fluidsynthsoundcontroller.cpp
|
|
index cbe6127..d28a0ea 100644
|
|
--- a/src/plugins/fluidsynthsoundcontroller/fluidsynthsoundcontroller.cpp
|
|
+++ b/src/plugins/fluidsynthsoundcontroller/fluidsynthsoundcontroller.cpp
|
|
@@ -266,6 +266,9 @@ void FluidSynthSoundController::resetEngine()
|
|
#endif
|
|
#ifdef Q_OS_WIN
|
|
fluid_settings_setstr(m_settings, "audio.driver", "dsound");
|
|
+#endif
|
|
+#ifdef Q_OS_HAIKU
|
|
+ fluid_settings_setstr(m_settings, "audio.driver", "mediakit");
|
|
#endif
|
|
m_audioDriver = new_fluid_audio_driver(m_settings, m_synth);
|
|
if (!m_audioDriver) {
|
|
--
|
|
2.48.1
|
|
|