Skip to content

Commit 5ab150e

Browse files
committed
Never enable internal GM synth by default inside DAW
1 parent 6108983 commit 5ab150e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Source/PluginProcessor.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,14 @@ PluginProcessor::PluginProcessor()
164164

165165
setEnableLimiter(settingsFile->getProperty<int>("protected"));
166166
setLimiterThreshold(settingsFile->getProperty<int>("limiter_threshold"));
167-
midiDeviceManager.setInternalSynthPort(settingsFile->getProperty<int>("internal_synth"));
168167

168+
if(ProjectInfo::isStandalone) {
169+
midiDeviceManager.setInternalSynthPort(settingsFile->getProperty<int>("internal_synth"));
170+
}
171+
else {
172+
midiDeviceManager.setInternalSynthPort(0);
173+
}
174+
169175
auto currentThemeTree = settingsFile->getCurrentTheme();
170176

171177
// ag: This needs to be done *after* the library data has been unpacked on

0 commit comments

Comments
 (0)