mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
WebSockets: rename ArdourMessageChannel to MessageChannel
This commit is contained in:
parent
198590bc94
commit
a51ce18334
3 changed files with 5 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue