WebSockets: rename ArdourMessageChannel to MessageChannel

This commit is contained in:
Luciano Iam 2020-04-12 11:29:01 +02:00 committed by Robin Gareus
parent 198590bc94
commit a51ce18334
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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 () {

View File

@ -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