Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set audio ports as stereo group
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jul 16, 2022
1 parent f84aa11 commit 5df91fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dpf
Submodule dpf updated 132 files
9 changes: 8 additions & 1 deletion plugins/MVerb/DistrhoPluginMVerb.cpp
@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -34,6 +34,13 @@ DistrhoPluginMVerb::DistrhoPluginMVerb()
// -----------------------------------------------------------------------
// Init

void DistrhoPluginMVerb::initAudioPort(bool input, uint32_t index, AudioPort& port)
{
port.groupId = kPortGroupStereo;

Plugin::initAudioPort(input, index, port);
}

void DistrhoPluginMVerb::initParameter(uint32_t index, Parameter& parameter)
{
parameter.unit = "%";
Expand Down
3 changes: 2 additions & 1 deletion plugins/MVerb/DistrhoPluginMVerb.hpp
@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -73,6 +73,7 @@ class DistrhoPluginMVerb : public Plugin
// -------------------------------------------------------------------
// Init

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

Expand Down

0 comments on commit 5df91fd

Please sign in to comment.