Skip to content

Commit

Permalink
ladspa: Fix constexpr initialization in port_info_common
Browse files Browse the repository at this point in the history
  • Loading branch information
werman committed May 11, 2020
1 parent 72f1c65 commit 02fddd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ladspa_plugin/ladspa++.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,23 +415,23 @@ namespace ladspa
{
constexpr static port_info_t audio_input = {
"Input", "Effect's audio input (mono).",
port_types::input | port_types::audio };
port_types::input | port_types::audio, {0,0,0} };
constexpr static port_info_t audio_input_l = {
"Input (L)", "Effect's audio input (left).",
port_types::input | port_types::audio };
port_types::input | port_types::audio, {0,0,0} };
constexpr static port_info_t audio_input_r = {
"Input (R)", "Effect's audio input (right).",
port_types::input | port_types::audio };
port_types::input | port_types::audio, {0,0,0} };

constexpr static port_info_t audio_output = {
"Output", "Effect's audio output (mono).",
port_types::output | port_types::audio };
port_types::output | port_types::audio, {0,0,0} };
constexpr static port_info_t audio_output_l = {
"Output (L)", "Effect's audio output (mono).",
port_types::output | port_types::audio };
port_types::output | port_types::audio, {0,0,0} };
constexpr static port_info_t audio_output_r = {
"Output (R)", "Effect's audio output (right).",
port_types::output | port_types::audio };
port_types::output | port_types::audio, {0,0,0} };

// more ports can be added on request...

Expand Down

0 comments on commit 02fddd7

Please sign in to comment.