Mercurial > hg > svcore
comparison plugin/PiperVampPluginFactory.cpp @ 1233:fac1666e429b project-file-rework
Update Piper server invocation convention
author | Chris Cannam |
---|---|
date | Thu, 27 Oct 2016 12:06:14 +0100 |
parents | 5d886b7b4029 |
children | 2d9e2771805a |
comparison
equal
deleted
inserted
replaced
1232:f350af2b542d | 1233:fac1666e429b |
---|---|
141 void | 141 void |
142 PiperVampPluginFactory::populate(QString &errorMessage) | 142 PiperVampPluginFactory::populate(QString &errorMessage) |
143 { | 143 { |
144 if (m_serverName == "") return; | 144 if (m_serverName == "") return; |
145 | 145 |
146 piper_vamp::client::ProcessQtTransport transport(m_serverName); | 146 piper_vamp::client::ProcessQtTransport transport(m_serverName, "capnp"); |
147 if (!transport.isOK()) { | 147 if (!transport.isOK()) { |
148 errorMessage = QObject::tr("Could not start external plugin host"); | 148 errorMessage = QObject::tr("Could not start external plugin host"); |
149 return; | 149 return; |
150 } | 150 } |
151 | 151 |