Mercurial > hg > piper-cpp
comparison vamp-client/AutoPlugin.h @ 119:5876f3e9c677
Fix server invocations from client code
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 12:04:44 +0100 |
parents | ff3fd8d1b2dc |
children | 56e537a7bb99 |
comparison
equal
deleted
inserted
replaced
118:ff3fd8d1b2dc | 119:5876f3e9c677 |
---|---|
50 AutoPlugin(std::string serverName, | 50 AutoPlugin(std::string serverName, |
51 std::string pluginKey, | 51 std::string pluginKey, |
52 float inputSampleRate, | 52 float inputSampleRate, |
53 int adapterFlags) : | 53 int adapterFlags) : |
54 Vamp::Plugin(inputSampleRate), | 54 Vamp::Plugin(inputSampleRate), |
55 m_transport(serverName), | 55 m_transport(serverName, "capnp"), |
56 m_client(&m_transport) | 56 m_client(&m_transport) |
57 { | 57 { |
58 LoadRequest req; | 58 LoadRequest req; |
59 req.pluginKey = pluginKey; | 59 req.pluginKey = pluginKey; |
60 req.inputSampleRate = inputSampleRate; | 60 req.inputSampleRate = inputSampleRate; |