From c1eadfa38cd6434271ce330bf3e8958cb7ca0597 Mon Sep 17 00:00:00 2001 From: Nicolas Koch Date: Sun, 30 Nov 2025 22:31:40 -0500 Subject: [PATCH] MCP: always show gain value on FoldBack Bus --- libs/surfaces/mackie/strip.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index e547440cca..ae1d96f979 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -438,7 +438,7 @@ Strip::notify_gain_changed (bool force_update) /* Keep VCA gain display live-updating in normal view */ if (_stripable && - (_stripable->presentation_info().flags() & ARDOUR::PresentationInfo::VCA) && + (_stripable->presentation_info().flags() & (ARDOUR::PresentationInfo::VCA | ARDOUR::PresentationInfo::FoldbackBus)) && _surface->mcp().subview()->subview_mode() == Subview::None) { return_to_vpot_mode_display(); } @@ -1284,8 +1284,9 @@ Strip::return_to_vpot_mode_display () return; } - /* VCA strips: always show current gain in dB permanently */ - if (_stripable->presentation_info().flags() & ARDOUR::PresentationInfo::VCA) { + /* VCA and FB strips: always show current gain in dB permanently */ + if (_stripable->presentation_info().flags() & + (ARDOUR::PresentationInfo::VCA | ARDOUR::PresentationInfo::FoldbackBus)) { float db = -INFINITY; if (auto gain = _stripable->gain_control()) { float coeff = gain->get_value(); @@ -1294,13 +1295,13 @@ Strip::return_to_vpot_mode_display () } } - /* Also drive the meter with the VCA gain — looks alive and correct */ - /* Use Ardour's official Mackie meter scaling — perfect match */ - if (_meter) { + /* Also drive the meter with VCA gain */ + if (_meter && (_stripable->presentation_info().flags() & ARDOUR::PresentationInfo::VCA)) { _meter->send_update(*_surface, db); } return; } + /* Normal tracks/buses: show pan mode or value */ pending_display[1] = vpot_mode_string(); }