summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorLuciano Iam <lucianito@gmail.com>2020-04-12 11:29:01 +0200
committerRobin Gareus <robin@gareus.org>2020-04-13 16:29:39 +0200
commita51ce18334227653b0cb22fa86f9735cfee02e10 (patch)
tree71caa78979324ae02388f4fe7f35f7245c9bc67f /share
parent198590bc94ccd49151af6dcf691fb93de432b0ee (diff)
WebSockets: rename ArdourMessageChannel to MessageChannel
Diffstat (limited to 'share')
-rw-r--r--share/web_surfaces/builtin/mixer-demo/js/main.js4
-rw-r--r--share/web_surfaces/shared/ardour.js4
-rw-r--r--share/web_surfaces/shared/channel.js2
3 files changed, 5 insertions, 5 deletions
diff --git a/share/web_surfaces/builtin/mixer-demo/js/main.js b/share/web_surfaces/builtin/mixer-demo/js/main.js
index 6f647c3da3..081aa722f3 100644
--- a/share/web_surfaces/builtin/mixer-demo/js/main.js
+++ b/share/web_surfaces/builtin/mixer-demo/js/main.js
@@ -16,7 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-import { ArdourMessageChannel } from '/shared/channel.js';
+import { MessageChannel } from '/shared/channel.js';
import { Switch, DiscreteSlider, ContinuousSlider, LogarithmicSlider,
StripPanSlider, StripGainSlider, StripMeter } from './widget.js';
@@ -27,7 +27,7 @@ import { Switch, DiscreteSlider, ContinuousSlider, LogarithmicSlider,
const FEEDBACK_NODES = ['strip_gain', 'strip_pan', 'strip_meter', 'strip_plugin_enable',
'strip_plugin_param_value'];
- const channel = new ArdourMessageChannel(location.host);
+ const channel = new MessageChannel(location.host);
const widgets = {};
main();
diff --git a/share/web_surfaces/shared/ardour.js b/share/web_surfaces/shared/ardour.js
index f9fc83f290..c80ca00181 100644
--- a/share/web_surfaces/shared/ardour.js
+++ b/share/web_surfaces/shared/ardour.js
@@ -16,12 +16,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-import { ArdourMessageChannel } from './channel.js';
+import { MessageChannel } from './channel.js';
export class Ardour {
constructor () {
- this.channel = new ArdourMessageChannel(location.host);
+ this.channel = new MessageChannel(location.host);
}
async open () {
diff --git a/share/web_surfaces/shared/channel.js b/share/web_surfaces/shared/channel.js
index c730458817..ada2485b7f 100644
--- a/share/web_surfaces/shared/channel.js
+++ b/share/web_surfaces/shared/channel.js
@@ -18,7 +18,7 @@
const JSON_INF = 1.0e+128;
-export class ArdourMessageChannel {
+export class MessageChannel {
constructor (host) {
// https://developer.mozilla.org/en-US/docs/Web/API/URL/host