# HG changeset patch # User Lucas Thompson # Date 1487866418 0 # Node ID 4aa6b1266251c8ce7aca039df678e2e5cf444aba # Parent d17b92663d50af87e450f715ff24d8a6d6e510fd Change deprecated names from piper diff -r d17b92663d50 -r 4aa6b1266251 src/app/services/feature-extraction/FeatureExtractionWorker.ts --- 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(); 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); });