Skip to content

Commit 5df91fd

Browse files
committed
Set audio ports as stereo group
Signed-off-by: falkTX <falktx@falktx.com>
1 parent f84aa11 commit 5df91fd

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

dpf

Submodule dpf updated 132 files

plugins/MVerb/DistrhoPluginMVerb.cpp

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DISTRHO MVerb, a DPF'ied MVerb.
33
* Copyright (c) 2010 Martin Eastwood
4-
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
4+
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
55
*
66
* This program is free software; you can redistribute it and/or
77
* modify it under the terms of the GNU General Public License as
@@ -34,6 +34,13 @@ DistrhoPluginMVerb::DistrhoPluginMVerb()
3434
// -----------------------------------------------------------------------
3535
// Init
3636

37+
void DistrhoPluginMVerb::initAudioPort(bool input, uint32_t index, AudioPort& port)
38+
{
39+
port.groupId = kPortGroupStereo;
40+
41+
Plugin::initAudioPort(input, index, port);
42+
}
43+
3744
void DistrhoPluginMVerb::initParameter(uint32_t index, Parameter& parameter)
3845
{
3946
parameter.unit = "%";

plugins/MVerb/DistrhoPluginMVerb.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DISTRHO MVerb, a DPF'ied MVerb.
33
* Copyright (c) 2010 Martin Eastwood
4-
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
4+
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
55
*
66
* This program is free software; you can redistribute it and/or
77
* modify it under the terms of the GNU General Public License as
@@ -73,6 +73,7 @@ class DistrhoPluginMVerb : public Plugin
7373
// -------------------------------------------------------------------
7474
// Init
7575

76+
void initAudioPort(bool input, uint32_t index, AudioPort& port) override;
7677
void initParameter(uint32_t index, Parameter& parameter) override;
7778
void initProgramName(uint32_t index, String& programName) override;
7879

0 commit comments

Comments
 (0)