# HG changeset patch # User Chris Cannam # Date 1359382651 0 # Node ID 9730fccf133b20f2964d579e75583693ad56c880 # Parent b776aa5f4c84ed455abf24f95a7df4c8c6293059 Fix idiotic failure to update host to new api using abstract interfaces diff -r b776aa5f4c84 -r 9730fccf133b host/host.java --- a/host/host.java Mon Jan 28 11:39:40 2013 +0000 +++ b/host/host.java Mon Jan 28 14:17:31 2013 +0000 @@ -32,7 +32,7 @@ authorization. */ -import java.util.ArrayList; +import java.util.List; import java.util.TreeMap; import java.util.Map; import java.util.List; @@ -56,7 +56,7 @@ public class host { private static void printFeatures(RealTime frameTime, Integer output, - Map> features) + Map> features) { if (!features.containsKey(output)) return; @@ -198,7 +198,7 @@ RealTime timestamp = RealTime.frame2RealTime (block * blockSize, (int)(rate + 0.5)); - TreeMap> + Map> features = p.process(buffers, timestamp); printFeatures(timestamp, outputNumber, features); @@ -209,7 +209,7 @@ ++block; } - TreeMap> + Map> features = p.getRemainingFeatures(); RealTime timestamp = RealTime.frame2RealTime