From e1b12706954563a53f0a4208b15d74dc7d7df7d6 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Wed, 30 Jul 2014 10:53:47 -0400 Subject: [PATCH 1/2] Allow uppercase letters in ladspa file names Per #1041 Tested against unfa-spoken.mmpz (uses dozens of LADSPA effects). --- plugins/LadspaEffect/LadspaSubPluginFeatures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LadspaEffect/LadspaSubPluginFeatures.cpp b/plugins/LadspaEffect/LadspaSubPluginFeatures.cpp index a51a21322..13aa66e5b 100644 --- a/plugins/LadspaEffect/LadspaSubPluginFeatures.cpp +++ b/plugins/LadspaEffect/LadspaSubPluginFeatures.cpp @@ -158,7 +158,7 @@ void LadspaSubPluginFeatures::listSubPluginKeys( ladspa_key_t LadspaSubPluginFeatures::subPluginKeyToLadspaKey( const Key * _key ) { - QString file = _key->attributes["file"].toLower(); + QString file = _key->attributes["file"]; return( ladspa_key_t( file.remove( QRegExp( "\\.so$" ) ). remove( QRegExp( "\\.dll$" ) ) + #ifdef LMMS_BUILD_WIN32 From a138b71ab51d30a76fd9a9eb8ca4318bd4862613 Mon Sep 17 00:00:00 2001 From: Vesa Date: Thu, 7 Aug 2014 11:36:28 +0300 Subject: [PATCH 2/2] Fix autodetect of midicontroller Fix #999 --- src/gui/ControllerConnectionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/ControllerConnectionDialog.cpp b/src/gui/ControllerConnectionDialog.cpp index ba9833dc8..9b03338ef 100644 --- a/src/gui/ControllerConnectionDialog.cpp +++ b/src/gui/ControllerConnectionDialog.cpp @@ -63,7 +63,7 @@ public: } - virtual void processInEvent( const MidiEvent& event, const MidiTime& time ) + virtual void processInEvent( const MidiEvent& event, const MidiTime& time, f_cnt_t offset = 0 ) { if( event.type() == MidiControlChange && ( m_midiPort.inputChannel() == 0 || m_midiPort.inputChannel() == event.channel() + 1 ) )