From 5b5eba7e68e7de8d442824d2f5076ec7d623e2b8 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 22 Aug 2017 11:35:33 +0800 Subject: Windows type of functionality windows is now Qt::Dialog. Initialization fluidsynth asynchronously. Minor documentation update. --- qmidiplayer-desktop/qmpmainwindow.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp') diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index fd1a5eb..c713ca3 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "../core/qmpmidiplay.hpp" #include "qmpplugin.hpp" @@ -174,7 +175,7 @@ class qmpMainWindow:public QMainWindow private: Ui::qmpMainWindow *ui; QTimer *timer; - bool playing,stopped,dragging,fin,singleFS,havemidi; + bool playing,stopped,dragging,fin,havemidi; std::thread *playerTh=NULL; std::thread *renderTh=NULL; std::chrono::steady_clock::time_point st; @@ -197,6 +198,7 @@ class qmpMainWindow:public QMainWindow void onfnChanged(); void playerSetup(IFluidSettings *fs); + void loadSoundFont(IFluidSettings *fs); private: static qmpMainWindow* ref; -- cgit v1.2.3