Mercurial > hg > piper-cpp
diff test/vamp-client/tst_PluginStub.cpp @ 287:09753ad777db
Add support for ProgramParameters. In theory this means we can select a program and then re-query the plugin's parameters and get the right values back, just as would happen if we were working with the remote extractor directly as a local Vamp plugin.
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 07 Apr 2020 15:56:02 +0100 |
parents | a69724686f0b |
children |
line wrap: on
line diff
--- a/test/vamp-client/tst_PluginStub.cpp Tue Jan 07 11:20:47 2020 +0000 +++ b/test/vamp-client/tst_PluginStub.cpp Tue Apr 07 15:56:02 2020 +0100 @@ -91,6 +91,9 @@ staticData.inputDomain = Vamp::Plugin::InputDomain::TimeDomain; staticData.basicOutputInfo = {{"output", "NA", "Not real"}}; + PluginProgramParameters programParameters; + // none + StubClient stub {staticData}; PiperVampPlugin vampPiperAdapter { @@ -99,7 +102,8 @@ 44100.0, // sample rate 0, // adapter flags, don't care here staticData, - defaultConfig + defaultConfig, + programParameters }; const auto initWithPreferredFraming = [&]() -> bool {