summaryrefslogtreecommitdiffstats
path: root/src/MIDIDeviceSheet.cpp
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-09-16 21:26:57 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-09-16 21:26:57 -0700
commit82ba45b3f22a761df6e06ff6a540b91f1aa20fdc (patch)
tree8b8110a87c488ab3f1b5d5b178fdbb4245abb168 /src/MIDIDeviceSheet.cpp
parent1c58d3924a9ff4a57aee3e3377d473fed7e221f5 (diff)
downloadsekaiju-82ba45b3f22a761df6e06ff6a540b91f1aa20fdc.tar.gz
sekaiju-82ba45b3f22a761df6e06ff6a540b91f1aa20fdc.tar.bz2
sekaiju-82ba45b3f22a761df6e06ff6a540b91f1aa20fdc.zip
New feature: "MIDI thru" is implemented by bindings from
input ports to output ports which is user-configurable and stored in the .ini file. Tracks no longer perform "MIDI thru", but only capture and playback.
Diffstat (limited to 'src/MIDIDeviceSheet.cpp')
-rw-r--r--src/MIDIDeviceSheet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MIDIDeviceSheet.cpp b/src/MIDIDeviceSheet.cpp
index f8ee5bb..b1a3ed8 100644
--- a/src/MIDIDeviceSheet.cpp
+++ b/src/MIDIDeviceSheet.cpp
@@ -29,6 +29,7 @@
#include "SekaijuApp.h"
#include "MIDIInDevicePage.h"
#include "MIDIOutDevicePage.h"
+#include "MIDIThruBindingPage.h"
#include "MIDIInstDefNormPage.h"
#include "MIDIInstDefDrumPage.h"
#include "MIDIDeviceSheet.h"
@@ -42,6 +43,7 @@ CMIDIDeviceSheet::CMIDIDeviceSheet (CWnd* pParentWnd)
:CPropertySheet (IDS_MIDIDEVICE_AND_INSTRUMENT, pParentWnd) {
AddPage (&m_theMIDIInDevicePage);
AddPage (&m_theMIDIOutDevicePage);
+ AddPage (&m_theMIDIThruBindingPage);
AddPage (&m_theMIDIInstDefNormPage);
AddPage (&m_theMIDIInstDefDrumPage);
}
@@ -87,6 +89,7 @@ void CMIDIDeviceSheet::OnApplyNow () {
pSekaijuApp->ApplyMIDIDeviceSheet (this);
m_theMIDIInDevicePage.SetModified (FALSE);
m_theMIDIOutDevicePage.SetModified (FALSE);
+ m_theMIDIThruBindingPage.SetModified (FALSE);
m_theMIDIInstDefNormPage.SetModified (FALSE);
m_theMIDIInstDefDrumPage.SetModified (FALSE);
}