Mercurial > hg > ugly-duckling
changeset 88:4aa6b1266251
Change deprecated names from piper
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Feb 2017 16:13:38 +0000 |
parents | d17b92663d50 |
children | f5072712ddf5 |
files | src/app/services/feature-extraction/FeatureExtractionWorker.ts |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/app/services/feature-extraction/FeatureExtractionWorker.ts Thu Feb 23 16:13:14 2017 +0000 +++ b/src/app/services/feature-extraction/FeatureExtractionWorker.ts Thu Feb 23 16:13:38 2017 +0000 @@ -2,7 +2,7 @@ * Created by lucas on 01/12/2016. */ -import {EmscriptenProxy, ListRequest, ListResponse} from 'piper'; +import {PiperVampService, ListRequest, ListResponse} from 'piper'; import { PiperSimpleClient, SimpleRequest, SimpleResponse @@ -37,7 +37,7 @@ this.remoteLibraries = new Map<LibraryKey, LibraryUri>(); this.clients.set( 'vamp-example-plugins', - new PiperSimpleClient(new EmscriptenProxy(VampExamplePlugins())) + new PiperSimpleClient(new PiperVampService(VampExamplePlugins())) ); this.workerScope.onmessage = (ev: MessageEvent) => { @@ -70,7 +70,7 @@ this.requireJs([this.remoteLibraries.get(key)], (plugin) => { this.clients.set( key, - new PiperSimpleClient(new EmscriptenProxy(plugin.createLibrary())) + new PiperSimpleClient(new PiperVampService(plugin.createLibrary())) ); // TODO won't always be an emscripten module this.list({}).then(sendResponse); });