# HG changeset patch # User Chris Cannam # Date 1463577868 -3600 # Node ID 278d90d15044c45f61b66d3203bf5f83724e8c54 # Parent 1fddeaf62c3b5b3cef08f2003f02e6bea9aa32c8 Harmonise names with capnp code diff -r 1fddeaf62c3b -r 278d90d15044 examples/processblock.json --- a/examples/processblock.json Mon May 16 15:46:11 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -{"input":[{"b64values": "AACAPwAAAEAEAEBAAACAQAAAoEAAAMBAAADQQAAA4EA"}], "timestamp": {"n": 141590000, "s": 3}} diff -r 1fddeaf62c3b -r 278d90d15044 examples/processinput.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/processinput.json Wed May 18 14:24:28 2016 +0100 @@ -0,0 +1,1 @@ +{"inputBuffers":[{"b64values": "AACAPwAAAEAEAEBAAACAQAAAoEAAAMBAAADQQAAA4EA"}], "timestamp": {"n": 141590000, "s": 3}} diff -r 1fddeaf62c3b -r 278d90d15044 examples/processrequest.json --- a/examples/processrequest.json Mon May 16 15:46:11 2016 +0100 +++ b/examples/processrequest.json Wed May 18 14:24:28 2016 +0100 @@ -1,1 +1,1 @@ -{"pluginHandle":12345,"processBlock":{"input":[{"b64values": "AACAPwAAAEAEAEBAAACAQAAAoEAAAMBAAADQQAAA4EA"}], "timestamp": {"n": 141590000, "s": 3}}} +{"pluginHandle":12345,"processInput":{"input":[{"b64values": "AACAPwAAAEAEAEBAAACAQAAAoEAAAMBAAADQQAAA4EA"}], "timestamp": {"n": 141590000, "s": 3}}} diff -r 1fddeaf62c3b -r 278d90d15044 schema/processblock.json --- a/schema/processblock.json Mon May 16 15:46:11 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -{ - "id": "http://vamp-plugins.org/json/schema/processblock#", - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "schema for a serialised input into a plugin process call", - "type": "object", - "properties": { - "timestamp": { - "$ref": "http://vamp-plugins.org/json/schema/realtime#" - }, - "input": { - "type": "array", - "items": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { "type": "number" } - }, - "b64values": { - "type": "string" - } - } - } - } - }, - "additionalProperties": false -} - - diff -r 1fddeaf62c3b -r 278d90d15044 schema/processinput.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/processinput.json Wed May 18 14:24:28 2016 +0100 @@ -0,0 +1,29 @@ +{ + "id": "http://vamp-plugins.org/json/schema/processblock#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised input into a plugin process call", + "type": "object", + "properties": { + "timestamp": { + "$ref": "http://vamp-plugins.org/json/schema/realtime#" + }, + "inputBuffers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { "type": "number" } + }, + "b64values": { + "type": "string" + } + } + } + } + }, + "additionalProperties": false +} + + diff -r 1fddeaf62c3b -r 278d90d15044 schema/processrequest.json --- a/schema/processrequest.json Mon May 16 15:46:11 2016 +0100 +++ b/schema/processrequest.json Wed May 18 14:24:28 2016 +0100 @@ -7,8 +7,8 @@ "pluginHandle": { "type": "number" }, - "processBlock": { - "$ref": "http://vamp-plugins.org/json/schema/processblock#" + "processInput": { + "$ref": "http://vamp-plugins.org/json/schema/processinput#" } }, "required": [ "pluginHandle", "processBlock" ],