Mercurial > hg > piper-cpp
comparison vamp-client/PluginStub.h @ 102:cd438188e3f9
Fix compiler warnings
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 17 Oct 2016 16:39:36 +0100 |
parents | 427c4c725085 |
children | ff3fd8d1b2dc |
comparison
equal
deleted
inserted
replaced
101:8c449824e08d | 102:cd438188e3f9 |
---|---|
108 | 108 |
109 if (m_state != Loaded) { | 109 if (m_state != Loaded) { |
110 throw std::logic_error("Plugin has already been initialised"); | 110 throw std::logic_error("Plugin has already been initialised"); |
111 } | 111 } |
112 | 112 |
113 m_config.channelCount = inputChannels; | 113 m_config.channelCount = int(inputChannels); |
114 m_config.stepSize = stepSize; | 114 m_config.stepSize = int(stepSize); |
115 m_config.blockSize = blockSize; | 115 m_config.blockSize = int(blockSize); |
116 | 116 |
117 m_outputs = m_client->configure(this, m_config); | 117 m_outputs = m_client->configure(this, m_config); |
118 | 118 |
119 if (!m_outputs.empty()) { | 119 if (!m_outputs.empty()) { |
120 m_state = Configured; | 120 m_state = Configured; |