Implement dynamic input port meters

Multimedia / Ardour - Robin Gareus [gareus.org] - 18 January 2021 02:18 UTC

This is a revision of the initial API 8ba7df9105fc84298a9, to address issues with dynamica ports (fa791ae9cc97).

- Group meter + scope/monitor per port (atomic access)
- Use shared pointer to allow access while ports change
- Use RCU to update port map
- Add/remove ports without clearing the map
- Add signal to notify GUI about Input Port changes

097e5a7145 Implement dynamic input port meters
libs/ardour/ardour/port_manager.h | 55 +++++-----
libs/ardour/luabindings.cc | 14 ---
libs/ardour/port_manager.cc | 205 ++++++++++++++++++++++++++++++--------
3 files changed, 192 insertions(+), 82 deletions(-)

  • Share