WS: make ArdourClient extend Component

Multimedia / Ardour - Luciano Iam [gmail.com] - 23 June 2020 20:00 UTC

This allows the client object to be observed using the on() method just like with the mixer and transport components, instead of passing separate callbacks.

See mixer-demo/js/main.js for an example.

d65e1170b9 WS: make ArdourClient extend Component
share/web_surfaces/builtin/mixer-demo/js/main.js | 40 +++++++-------
share/web_surfaces/builtin/mixer-demo/manifest.xml | 2 +-
share/web_surfaces/builtin/transport/manifest.xml | 2 +-
share/web_surfaces/shared/ardour.js | 63 +++++++++-------------
share/web_surfaces/shared/base/component.js | 4 +-
share/web_surfaces/shared/components/mixer.js | 2 +-
share/web_surfaces/shared/components/plugin.js | 2 +-
share/web_surfaces/shared/components/strip.js | 2 +-
8 files changed, 51 insertions(+), 66 deletions(-)

  • Share