From 89aa17fe00036e5c85e7d9f501f6eac246490f03 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Mon, 14 Aug 2017 20:22:05 +0200 Subject: Put input level meter before output level meter in the generic gui This is done by relying on the fact that the generic gui orders the meters according to their port indices. --- libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in | 12 ++++++------ libs/plugins/a-comp.lv2/a-comp.c | 2 +- libs/plugins/a-comp.lv2/a-comp.ttl.in | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in b/libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in index cb45647936..cf4b99a2bf 100644 --- a/libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in +++ b/libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in @@ -92,21 +92,21 @@ lv2:maximum 45.000000 ; unit:unit unit:db ; ] , - [ + [ a lv2:OutputPort, lv2:ControlPort ; lv2:index 7 ; - lv2:name "Output Level" ; - lv2:symbol "outlevel" ; + lv2:name "Input Level" ; + lv2:symbol "inlevel" ; lv2:default -45.000000 ; lv2:minimum -45.000000 ; lv2:maximum 0.000000 ; unit:unit unit:db ; ] , - [ + [ a lv2:OutputPort, lv2:ControlPort ; lv2:index 8 ; - lv2:name "Input Level" ; - lv2:symbol "inlevel" ; + lv2:name "Output Level" ; + lv2:symbol "outlevel" ; lv2:default -45.000000 ; lv2:minimum -45.000000 ; lv2:maximum 0.000000 ; diff --git a/libs/plugins/a-comp.lv2/a-comp.c b/libs/plugins/a-comp.lv2/a-comp.c index 1de5954e89..f78dda558b 100644 --- a/libs/plugins/a-comp.lv2/a-comp.c +++ b/libs/plugins/a-comp.lv2/a-comp.c @@ -49,8 +49,8 @@ typedef enum { ACOMP_MAKEUP, ACOMP_GAINR, - ACOMP_OUTLEVEL, ACOMP_INLEVEL, + ACOMP_OUTLEVEL, ACOMP_SIDECHAIN, ACOMP_ENABLE, diff --git a/libs/plugins/a-comp.lv2/a-comp.ttl.in b/libs/plugins/a-comp.lv2/a-comp.ttl.in index bbc860ee14..e8584d8978 100644 --- a/libs/plugins/a-comp.lv2/a-comp.ttl.in +++ b/libs/plugins/a-comp.lv2/a-comp.ttl.in @@ -95,8 +95,8 @@ [ a lv2:OutputPort, lv2:ControlPort ; lv2:index 7 ; - lv2:name "Output Level" ; - lv2:symbol "outlevel" ; + lv2:name "Input Level" ; + lv2:symbol "inlevel" ; lv2:default -45.000000 ; lv2:minimum -45.000000 ; lv2:maximum 0.000000 ; @@ -105,8 +105,8 @@ [ a lv2:OutputPort, lv2:ControlPort ; lv2:index 8 ; - lv2:name "Input Level" ; - lv2:symbol "inlevel" ; + lv2:name "Output Level" ; + lv2:symbol "outlevel" ; lv2:default -45.000000 ; lv2:minimum -45.000000 ; lv2:maximum 0.000000 ; -- cgit v1.2.3