Mercurial > hg > piper-cpp
comparison vamp-client/PiperVampPlugin.h @ 264:37760b5376b3
Avoid compiler warnings
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 12 Oct 2018 11:12:25 +0100 |
parents | df65480a08de |
children | 82a89c4345c6 |
comparison
equal
deleted
inserted
replaced
263:9a044706ab73 | 264:37760b5376b3 |
---|---|
242 m_config.framing.blockSize != int(blockSize)) { | 242 m_config.framing.blockSize != int(blockSize)) { |
243 m_state = Misconfigured; | 243 m_state = Misconfigured; |
244 return false; | 244 return false; |
245 } | 245 } |
246 | 246 |
247 } catch (const std::exception &e) { | 247 } catch (const std::exception &) { |
248 m_state = Failed; | 248 m_state = Failed; |
249 throw; | 249 throw; |
250 } | 250 } |
251 | 251 |
252 if (!m_outputs.empty()) { | 252 if (!m_outputs.empty()) { |
267 return; | 267 return; |
268 } | 268 } |
269 | 269 |
270 try { | 270 try { |
271 m_client->reset(this, m_config); | 271 m_client->reset(this, m_config); |
272 } catch (const std::exception &e) { | 272 } catch (const std::exception &) { |
273 m_state = Failed; | 273 m_state = Failed; |
274 throw; | 274 throw; |
275 } | 275 } |
276 | 276 |
277 m_state = Configured; | 277 m_state = Configured; |
350 inputBuffers[c] + m_config.framing.blockSize)); | 350 inputBuffers[c] + m_config.framing.blockSize)); |
351 } | 351 } |
352 | 352 |
353 try { | 353 try { |
354 return m_client->process(this, vecbuf, timestamp); | 354 return m_client->process(this, vecbuf, timestamp); |
355 } catch (const std::exception &e) { | 355 } catch (const std::exception &) { |
356 m_state = Failed; | 356 m_state = Failed; |
357 throw; | 357 throw; |
358 } | 358 } |
359 } | 359 } |
360 | 360 |
374 | 374 |
375 m_state = Finished; | 375 m_state = Finished; |
376 | 376 |
377 try { | 377 try { |
378 return m_client->finish(this); | 378 return m_client->finish(this); |
379 } catch (const std::exception &e) { | 379 } catch (const std::exception &) { |
380 m_state = Failed; | 380 m_state = Failed; |
381 throw; | 381 throw; |
382 } | 382 } |
383 } | 383 } |
384 | 384 |