changeset 17:4a94e8a61d35

Instead of using separate values and b64values entries in JSON serialisations, allow numeric arrays to be replaced by b64 variants wherever they appear (discriminating by type). Also rename values to featureValues in feature throughout, as values turns out to be a hazardous name in a JS context. Finally use Array instead of Text for array encoding (seems clearer).
author Chris Cannam
date Tue, 27 Sep 2016 15:04:59 +0100
parents c2c5aa00f165
children 91d03c115ea0 77c34ecc4498
files capnproto/vamp.capnp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Fri Sep 23 14:23:10 2016 +0100
+++ b/capnproto/vamp.capnp	Tue Sep 27 15:04:59 2016 +0100
@@ -95,7 +95,7 @@
     hasDuration        @2  :Bool        = false;
     duration           @3  :RealTime;
     label              @4  :Text;
-    values             @5  :List(Float32) = [];
+    featureValues      @5  :List(Float32) = [];
 }
 
 struct FeatureSet {