From 97a3508b0bab192b3bdc1ad0812cfb1baf9475d2 Mon Sep 17 00:00:00 2001 From: Tony Mountifield Date: Wed, 4 Dec 2024 17:38:53 +0000 Subject: [PATCH] Keep MIDI and ASIO separate in Jamulus.pro --- Jamulus.pro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jamulus.pro b/Jamulus.pro index 5bb5760f44..3d1d5acd45 100644 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -147,6 +147,11 @@ win32 { INCLUDEPATH += "$${programfilesdir}/JACK2/include" LIBS += "$${programfilesdir}/JACK2/lib/$${libjackname}" } else { + message(Using native Windows MIDI.) + + HEADERS += src/sound/midi-win/midi.h + SOURCES += src/sound/midi-win/midi.cpp + message(Using ASIO.) message(Please review the ASIO SDK licence.) @@ -155,10 +160,8 @@ win32 { } # Important: Keep those ASIO includes local to this build target in # order to avoid poisoning other builds license-wise. - HEADERS += src/sound/asio/sound.h \ - src/sound/midi-win/midi.h + HEADERS += src/sound/asio/sound.h SOURCES += src/sound/asio/sound.cpp \ - src/sound/midi-win/midi.cpp \ libs/ASIOSDK2/common/asio.cpp \ libs/ASIOSDK2/host/asiodrivers.cpp \ libs/ASIOSDK2/host/pc/asiolist.cpp