Mercurial > hg > jvamp
diff org/vamp_plugins/Plugin.java @ 24:cd430fbf6795
Add getPluginCategory, more sensible return values, fix process, call new functions to test
author | Chris Cannam |
---|---|
date | Wed, 14 Nov 2012 18:10:40 +0000 |
parents | 6385a6caaa7c |
children | b568b30c167f |
line wrap: on
line diff
--- a/org/vamp_plugins/Plugin.java Wed Nov 14 17:53:03 2012 +0000 +++ b/org/vamp_plugins/Plugin.java Wed Nov 14 18:10:40 2012 +0000 @@ -55,12 +55,12 @@ public TreeMap<Integer, ArrayList<Feature>> process(float[][] inputBuffers, RealTime timestamp) { - process(inputBuffers, 0, inputBuffers[0].length, timestamp); + return process(inputBuffers, 0, timestamp); } public native TreeMap<Integer, ArrayList<Feature>> process(float[][] inputBuffers, - int offset, int n, + int offset, RealTime timestamp); public native TreeMap<Integer, ArrayList<Feature>>