Mercurial > hg > jvamp
diff org/vamp_plugins/Plugin.java @ 22:6385a6caaa7c
Move test program to own directory, add process using subset of array, add hgignore
author | Chris Cannam |
---|---|
date | Wed, 14 Nov 2012 17:35:46 +0000 |
parents | cf6c69871f9c |
children | cd430fbf6795 |
line wrap: on
line diff
--- a/org/vamp_plugins/Plugin.java Thu Feb 09 16:18:33 2012 +0000 +++ b/org/vamp_plugins/Plugin.java Wed Nov 14 17:35:46 2012 +0000 @@ -52,8 +52,15 @@ // public class FeatureList extends ArrayList<Feature>; // public class FeatureSet extends TreeMap<Integer, FeatureList>; + public TreeMap<Integer, ArrayList<Feature>> + process(float[][] inputBuffers, + RealTime timestamp) { + process(inputBuffers, 0, inputBuffers[0].length, timestamp); + } + public native TreeMap<Integer, ArrayList<Feature>> process(float[][] inputBuffers, + int offset, int n, RealTime timestamp); public native TreeMap<Integer, ArrayList<Feature>>