Mercurial > hg > vamp-plugin-sdk
comparison src/vamp-hostsdk/PluginHostAdapter.cpp @ 421:35fa4733bc5d
Fix compiler warnings, and fix potential mangling of utf8 when downcasing (this is still a nasty and incomplete way to do it though)
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2016 11:49:12 +0100 |
parents | 5628c5ec4000 |
children | abdf03252c8a |
comparison
equal
deleted
inserted
replaced
420:99868cd95acb | 421:35fa4733bc5d |
---|---|
124 PluginHostAdapter::initialise(size_t channels, | 124 PluginHostAdapter::initialise(size_t channels, |
125 size_t stepSize, | 125 size_t stepSize, |
126 size_t blockSize) | 126 size_t blockSize) |
127 { | 127 { |
128 if (!m_handle) return false; | 128 if (!m_handle) return false; |
129 return m_descriptor->initialise(m_handle, channels, stepSize, blockSize) ? | 129 return m_descriptor->initialise |
130 (m_handle, | |
131 (unsigned int)channels, | |
132 (unsigned int)stepSize, | |
133 (unsigned int)blockSize) ? | |
130 true : false; | 134 true : false; |
131 } | 135 } |
132 | 136 |
133 void | 137 void |
134 PluginHostAdapter::reset() | 138 PluginHostAdapter::reset() |