Mercurial > hg > piper
changeset 117:278d90d15044
Harmonise names with capnp code
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 18 May 2016 14:24:28 +0100 |
parents | 1fddeaf62c3b |
children | ad3d8d4da194 |
files | examples/processblock.json examples/processinput.json examples/processrequest.json schema/processblock.json schema/processinput.json schema/processrequest.json |
diffstat | 6 files changed, 33 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- 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}}
--- /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}}
--- 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}}}
--- 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 -} - -
--- /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 +} + +
--- 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" ],