diff options
Diffstat (limited to 'share/web_surfaces/shared/ardour.js')
-rw-r--r-- | share/web_surfaces/shared/ardour.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/web_surfaces/shared/ardour.js b/share/web_surfaces/shared/ardour.js index 770881b4c4..51712621a7 100644 --- a/share/web_surfaces/shared/ardour.js +++ b/share/web_surfaces/shared/ardour.js @@ -16,7 +16,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -import { MessageChannel, Message, ANode } from './channel.js'; +import { ANode, Message } from './message.js'; +import { MessageChannel } from './channel.js'; export class Ardour { @@ -39,6 +40,10 @@ export class Ardour { this._channel.closeCallback = () => {}; this._channel.close(); } + + send (msg) { + this._channel.send(msg); + } errorCallback (error) { // empty |