Mercurial > hg > piper
diff capnp/piper.capnp @ 191:4fed2f3f2cd0
Add framing structure to capture step + block size, and return this in
configuration response
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 03 Feb 2017 15:04:33 +0000 |
parents | 0c7b6db47bb9 |
children | 2dfac1f5a419 |
line wrap: on
line diff
--- a/capnp/piper.capnp Fri Jan 20 11:09:40 2017 +0000 +++ b/capnp/piper.capnp Fri Feb 03 15:04:33 2017 +0000 @@ -94,6 +94,11 @@ featurePairs @0 :List(FSPair); } +struct Framing { + stepSize @0 :Int32; + blockSize @1 :Int32; +} + struct Configuration { struct PVPair { parameter @0 :Text; @@ -102,8 +107,7 @@ parameterValues @0 :List(PVPair); currentProgram @1 :Text; channelCount @2 :Int32; - stepSize @3 :Int32; - blockSize @4 :Int32; + framing @3 :Framing; } enum AdapterFlag { @@ -146,6 +150,7 @@ struct ConfigurationResponse { handle @0 :Int32; outputs @1 :List(OutputDescriptor); + framing @2 :Framing; } struct ProcessRequest {