Skip to content

Commit 589d589

Browse files
committed
Fix export channel check for updated DirectSpeakers plugin
This fixes a regression after the DirectSpeakers plugin was updated to support more channel layouts. The max value of paramSpeakerLayout had not been updated to reflect the new layout count. As the comment above the changed code suggests, we should consolidate this stuff in one place, but leaving that for now as this is an urgent fix.
1 parent 7ad2918 commit 589d589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reaper-adm-extension/src/reaper_adm/exportaction_admsource-earvst.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class EarInputVst : public PluginInstance
8686
private:
8787
// TODO: Fix hard-coded values - pull from plugin suite
8888
std::unique_ptr<PluginParameter> paramTrackMapping{ createPluginParameter(0, { -1.0, 63.0 }) };
89-
std::unique_ptr<PluginParameter> paramSpeakerLayout{ createPluginParameter(1, { -1.0, 13.0 }) };
89+
std::unique_ptr<PluginParameter> paramSpeakerLayout{ createPluginParameter(1, { -1.0, 21.0 }) };
9090

9191
// Statics
9292

0 commit comments

Comments
 (0)