Mercurial > hg > jvamp
comparison 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 |
comparison
equal
deleted
inserted
replaced
21:0a91d898acc3 | 22:6385a6caaa7c |
---|---|
50 // "Pseudo-typedef antipattern - don't do this": http://www.ibm.com/developerworks/java/library/j-jtp02216/index.html | 50 // "Pseudo-typedef antipattern - don't do this": http://www.ibm.com/developerworks/java/library/j-jtp02216/index.html |
51 // (I would like to!) | 51 // (I would like to!) |
52 // public class FeatureList extends ArrayList<Feature>; | 52 // public class FeatureList extends ArrayList<Feature>; |
53 // public class FeatureSet extends TreeMap<Integer, FeatureList>; | 53 // public class FeatureSet extends TreeMap<Integer, FeatureList>; |
54 | 54 |
55 public TreeMap<Integer, ArrayList<Feature>> | |
56 process(float[][] inputBuffers, | |
57 RealTime timestamp) { | |
58 process(inputBuffers, 0, inputBuffers[0].length, timestamp); | |
59 } | |
60 | |
55 public native TreeMap<Integer, ArrayList<Feature>> | 61 public native TreeMap<Integer, ArrayList<Feature>> |
56 process(float[][] inputBuffers, | 62 process(float[][] inputBuffers, |
63 int offset, int n, | |
57 RealTime timestamp); | 64 RealTime timestamp); |
58 | 65 |
59 public native TreeMap<Integer, ArrayList<Feature>> | 66 public native TreeMap<Integer, ArrayList<Feature>> |
60 getRemainingFeatures(); | 67 getRemainingFeatures(); |
61 } | 68 } |